|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CqEvent
This interface provides methods to get all the information sent from the server about the CQ event. The CqEvent is passed to the CQs CqListener methods. It can be used to retrieve such information as the region operation, CQ operation associated with the event, the new key and value from the event, and the CqQuery object associated with the event. The CqEvent is not an extension of CacheEvent.
| Method Summary | |
|---|---|
Operation |
getBaseOperation()
Get the operation on the base region that triggered this event. |
CqQuery |
getCq()
Get the CqQuery object of this event. |
byte[] |
getDeltaValue()
Get the delta modification. |
Object |
getKey()
Get the key relating to the event. |
Object |
getNewValue()
Get the new value of the modification. |
Operation |
getQueryOperation()
Get the operation on the query results. |
Throwable |
getThrowable()
If an error occurred, return the Throwable, otherwise return null. |
| Method Detail |
|---|
CqQuery getCq()
CqQueryOperation getBaseOperation()
Operation getQueryOperation()
Object getKey()
Object getNewValue()
InvalidDeltaException, if value is null and Delta
Propagation is enabled.
Throwable getThrowable()
onError method of the CqListener instead of the
onEvent method.
byte[] getDeltaValue()
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||