public interface EntryOperation<K,V>
PartitionResolver
to compute the data locationPartitionResolver
Modifier and Type | Method and Description |
---|---|
Object |
getCallbackArgument()
Returns the callbackArgument passed to the method that generated this event.
|
K |
getKey()
Returns the key.
|
V |
getNewValue()
Deprecated.
|
Operation |
getOperation()
Deprecated.
|
Region<K,V> |
getRegion()
Returns the region to which this cached object belongs or the region that raised this event for
RegionEvent s. |
boolean |
isCallbackArgumentAvailable()
Returns
true if the callback argument is "available". |
Region<K,V> getRegion()
RegionEvent
s.@Deprecated Operation getOperation()
PartitionResolver.getRoutingObject(EntryOperation)
K getKey()
Object getCallbackArgument()
Region
interface
methods that take a callbackArgument parameter. Only fields on the key should be used when
creating the routing object.null
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.boolean isCallbackArgumentAvailable()
true
if the callback argument is "available". Not available means that the
callback argument may have existed but it could not be obtained. Note that
getCallbackArgument()
will return null
when this method returns
false
.@Deprecated V getNewValue()
PartitionResolver.getRoutingObject(EntryOperation)
. Only fields on the key should be
used when creating the routing object.