public class CqAttributesMutatorImpl
extends java.lang.Object
implements org.apache.geode.cache.query.CqAttributesMutator
| Constructor and Description |
|---|
CqAttributesMutatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCqListener(org.apache.geode.cache.query.CqListener aListener)
Adds a cq listener to the end of the list of cq listeners on this CqQuery.
|
void |
initCqListeners(org.apache.geode.cache.query.CqListener[] newListeners)
Removes all cq listeners, calling on each of them, and then adds each listener in the specified
array.
|
void |
removeCqListener(org.apache.geode.cache.query.CqListener aListener)
Removes a cq listener from the list of cq listeners on this CqQuery.
|
public void addCqListener(org.apache.geode.cache.query.CqListener aListener)
addCqListener in interface org.apache.geode.cache.query.CqAttributesMutatoraListener - the user defined cq listener to add to the CqQuery.java.lang.IllegalArgumentException - if aListener is nullpublic void removeCqListener(org.apache.geode.cache.query.CqListener aListener)
CacheCallback.close() will be called on it; otherwise does
nothing.removeCqListener in interface org.apache.geode.cache.query.CqAttributesMutatoraListener - the cq listener to remove from the CqQuery.java.lang.IllegalArgumentException - if aListener is nullpublic void initCqListeners(org.apache.geode.cache.query.CqListener[] newListeners)
initCqListeners in interface org.apache.geode.cache.query.CqAttributesMutatornewListeners - a possibly null or empty array of listeners to add to this CqQuery.java.lang.IllegalArgumentException - if the newListeners array has a null element