GemFire 6.6.2

com.gemstone.gemfire.cache.util
Interface GatewayEvent


public interface GatewayEvent

Interface GatewayEvent represents Cache events delivered to Gateways.

Since:
5.1

Method Summary
 Object getCallbackArgument()
          Returns the callbackArgument associated with this event.
 long getCreationTime()
          Returns the creation timestamp in milliseconds.
 Object getDeserializedValue()
          Returns the deserialized value associated with this event.
 Object getKey()
          Returns the key associated with this event.
 Operation getOperation()
          Returns the Operation that triggered this event.
 boolean getPossibleDuplicate()
          Returns whether this event is a possible duplicate.
 Region<?,?> getRegion()
          Returns the Region associated with this GatewayEvent.
 byte[] getSerializedValue()
          Returns the serialized form of the value associated with this event.
 void setPossibleDuplicate(boolean possibleDuplicate)
          Sets whether this event is a possible duplicate.
 

Method Detail

getRegion

Region<?,?> getRegion()
Returns the Region associated with this GatewayEvent.

Returns:
the Region associated with this GatewayEvent

getOperation

Operation getOperation()
Returns the Operation that triggered this event.

Returns:
the Operation that triggered this event

getCallbackArgument

Object getCallbackArgument()
Returns the callbackArgument associated with this event.

Returns:
the callbackArgument associated with this event

getKey

Object getKey()
Returns the key associated with this event.

Returns:
the key associated with this event

getDeserializedValue

Object getDeserializedValue()
Returns the deserialized value associated with this event.

Returns:
the deserialized value associated with this event

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

setPossibleDuplicate

void setPossibleDuplicate(boolean possibleDuplicate)
Sets whether this event is a possible duplicate.

Parameters:
possibleDuplicate - whether this event is a possible duplicate

getPossibleDuplicate

boolean getPossibleDuplicate()
Returns whether this event is a possible duplicate.

Returns:
whether this event is a possible duplicate

getCreationTime

long getCreationTime()
Returns the creation timestamp in milliseconds.

Returns:
the creation timestamp in milliseconds
Since:
6.0

GemFire 6.6.2

Copyright © 1997-2012 VMware, Inc. All rights reserved.