public class QueryManager extends Object implements QueryWatcher
Constructor and Description |
---|
QueryManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelQuery(String id) |
void |
registerQuery(Query query,
com.google.common.util.concurrent.ListenableFuture future)
QueryRunners must use this method to register any pending queries.
|
public boolean cancelQuery(String id)
public void registerQuery(Query query, com.google.common.util.concurrent.ListenableFuture future)
QueryWatcher
registerQuery
in interface QueryWatcher
query
- a query, which may be a subset of a larger query, as long as the underlying queryId is unchangedfuture
- the future holding the execution status of the queryCopyright © 2011–2015. All rights reserved.