public interface CqListener extends CacheCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onError(CqEvent aCqEvent)
This method is invoked when there is an error during CQ processing.
|
void |
onEvent(CqEvent aCqEvent)
This method is invoked when an event is occurred on the region that satisfied the query
condition of this CQ.
|
closeinit, initializevoid onEvent(CqEvent aCqEvent)
aCqEvent - the CqEvent that triggered the listenerCqQuery.executeWithInitialResults()void onError(CqEvent aCqEvent)
aCqEvent - the CqEvent which encountered the error