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.
|
close
init, initialize
void onEvent(CqEvent aCqEvent)
aCqEvent
- the CqEvent
that triggered the listenerCqQuery.executeWithInitialResults()
void onError(CqEvent aCqEvent)
aCqEvent
- the CqEvent
which encountered the error