public interface GatewayQueueEvent<K,V>
Cache
events going through GatewaySender
s.Modifier and Type | Method and Description |
---|---|
Object |
getCallbackArgument()
Returns the callbackArgument associated with this event.
|
V |
getDeserializedValue()
Returns the deserialized value associated with this event.
|
K |
getKey()
Returns the key associated with this event.
|
Operation |
getOperation()
Returns the
Operation that triggered this event. |
Region<K,V> |
getRegion()
Returns the
Region associated with this AsyncEvent |
byte[] |
getSerializedValue()
Returns the serialized form of the value associated with this event.
|
Region<K,V> getRegion()
Region
associated with this AsyncEventRegion
associated with this AsyncEvent OR null if Region
not found (e.g. this can happen if it is destroyed).Operation getOperation()
Operation
that triggered this event.Operation
that triggered this eventObject getCallbackArgument()
K getKey()
V getDeserializedValue()
IllegalStateException
- may be thrown if the event's value was stored off-heap and
AsyncEventListener.processEvents(java.util.List)
has already returned.byte[] getSerializedValue()
IllegalStateException
- may be thrown if the event's value was stored off-heap and
AsyncEventListener.processEvents(java.util.List)
has already returned.