presto-main/src/main/java/io/prestosql/execution/QueryManager.java/QueryManager/getStateChange
class QueryManager:    ListenableFuture<QueryState> getStateChange(QueryId queryId, QueryState currentState);