|
GemFire 6.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.util.CqListenerAdapter
public abstract class CqListenerAdapter
| Constructor Summary | |
|---|---|
CqListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
close()
Called when the CQ is closed, the base region is destroyed, when the cache is closed, or when this listener is removed from a CqQuery using a CqAttributesMutator. |
void |
onError(CqEvent aCqEvent)
An error occurred in the processing of a CQ. |
void |
onEvent(CqEvent aCqEvent)
An event occurred that modifies the results of the query. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CqListenerAdapter()
| Method Detail |
|---|
public void onEvent(CqEvent aCqEvent)
onEvent in interface CqListenerCqQuery.executeWithInitialResults()public void onError(CqEvent aCqEvent)
onError in interface CqListenerpublic void close()
CqAttributesMutator.
Implementations should cleanup any external resources such as database connections. Any runtime exceptions this method throws will be logged.
It is possible for this method to be called multiple times on a single callback instance, so implementations must be tolerant of this.
close in interface CacheCallbackCacheCallback.close()
|
GemFire 6.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||