public class ChainedExecutionQueryRunner<T> extends Object implements QueryRunner<T>
A -> B -> Aa -> AbThat is, the two sub queryables for A would run *after* B is run, effectively meaning that the results for B must be fully cached in memory before the results for Aa and Ab are computed.
Constructor and Description |
---|
ChainedExecutionQueryRunner(ExecutorService exec,
QueryWatcher queryWatcher,
Iterable<QueryRunner<T>> queryables) |
ChainedExecutionQueryRunner(ExecutorService exec,
QueryWatcher queryWatcher,
QueryRunner<T>... queryables) |
Modifier and Type | Method and Description |
---|---|
Sequence<T> |
run(Query<T> query,
Map<String,Object> responseContext)
Runs the given query and returns results in a time-ordered sequence
|
public ChainedExecutionQueryRunner(ExecutorService exec, QueryWatcher queryWatcher, QueryRunner<T>... queryables)
public ChainedExecutionQueryRunner(ExecutorService exec, QueryWatcher queryWatcher, Iterable<QueryRunner<T>> queryables)
Copyright © 2011–2017. All rights reserved.