GemFire 5.8

com.gemstone.gemfire.cache
Interface EntryOperation


public interface EntryOperation

Gemfire Context passed to PartitionedResolver to compute the data location

Since:
5.8Beta
See Also:
PartitionResolver

Method Summary
 Object getCallbackArgument()
          Returns the callbackArgument passed to the method that generated this event.
 Object getKey()
          Returns the key.
 Object getNewValue()
           
 Operation getOperation()
          Return a description of the operation that triggered this event.
 Region getRegion()
          Returns the region to which this cached object belongs or the region that raised this event for RegionEvents.
 

Method Detail

getRegion

Region getRegion()
Returns the region to which this cached object belongs or the region that raised this event for RegionEvents.

Returns:
the region associated with this object or the region that raised this event.

getOperation

Operation getOperation()
Return a description of the operation that triggered this event.

Returns:
the operation that triggered this event.
Since:
5.8Beta

getKey

Object getKey()
Returns the key.

Returns:
the key

getCallbackArgument

Object getCallbackArgument()
Returns the callbackArgument passed to the method that generated this event. Provided primarily in case this object or region has already been destroyed. See the Region interface methods that take a callbackArgument parameter.

Returns:
the callbackArgument associated with this event. NOT_AVAILABLE is returned if the callback argument is not propagated to the event. This happens for events given to TransactionListener and to CacheListener on the remote side of a transaction commit.

getNewValue

Object getNewValue()
Returns:
CacheEvent.NOT_AVAILABLE when op has no value otherwise returns the value

GemFire 5.8

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.