VMware GemFire Java API Reference
Package org.apache.geode.cache.wan
Interface GatewayQueueEvent<K,V>
-
- All Known Subinterfaces:
AsyncEvent<K,V>
public interface GatewayQueueEvent<K,V>RepresentsCacheevents going throughGatewaySenders.- Since:
- GemFire 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetCallbackArgument()Returns the callbackArgument associated with this event.VgetDeserializedValue()Returns the deserialized value associated with this event.KgetKey()Returns the key associated with this event.OperationgetOperation()Returns theOperationthat triggered this event.Region<K,V>getRegion()Returns theRegionassociated with this AsyncEventbyte[]getSerializedValue()Returns the serialized form of the value associated with this event.
-
-
-
Method Detail
-
getRegion
Region<K,V> getRegion()
Returns theRegionassociated with this AsyncEvent- Returns:
- the
Regionassociated with this AsyncEvent OR null ifRegionnot found (e.g. this can happen if it is destroyed).
-
getOperation
Operation getOperation()
Returns theOperationthat triggered this event.- Returns:
- the
Operationthat triggered this event
-
getCallbackArgument
java.lang.Object getCallbackArgument()
Returns the callbackArgument associated with this event.- Returns:
- the callbackArgument associated with this event
-
getKey
K getKey()
Returns the key associated with this event.- Returns:
- the key associated with this event
-
getDeserializedValue
V getDeserializedValue()
Returns the deserialized value associated with this event.- Returns:
- the deserialized value associated with this event
- Throws:
java.lang.IllegalStateException- may be thrown if the event's value was stored off-heap andAsyncEventListener.processEvents(java.util.List)has already returned.
-
getSerializedValue
byte[] getSerializedValue()
Returns the serialized form of the value associated with this event.- Returns:
- the serialized form of the value associated with this event
- Throws:
java.lang.IllegalStateException- may be thrown if the event's value was stored off-heap andAsyncEventListener.processEvents(java.util.List)has already returned.
-
-