public class NoopQueryWatcher extends Object implements QueryWatcher
| Modifier and Type | Method and Description |
|---|---|
static NoopQueryWatcher |
instance() |
void |
registerQuery(Query query,
com.google.common.util.concurrent.ListenableFuture future)
QueryRunners must use this method to register any pending queries.
|
public static NoopQueryWatcher instance()
public void registerQuery(Query query, com.google.common.util.concurrent.ListenableFuture future)
QueryWatcherregisterQuery in interface QueryWatcherquery - 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–2017. All rights reserved.