public abstract class KeyBasedMapOperation extends Operation implements PartitionAwareOperation
Modifier and Type | Field and Description |
---|---|
protected Data |
dataKey |
protected Data |
dataValue |
protected MapContainer |
mapContainer |
protected MapService |
mapService |
protected String |
name |
protected PartitionContainer |
partitionContainer |
protected RecordStore |
recordStore |
protected long |
threadId |
protected long |
ttl |
Modifier | Constructor and Description |
---|---|
|
KeyBasedMapOperation() |
|
KeyBasedMapOperation(String name,
Data dataKey) |
protected |
KeyBasedMapOperation(String name,
Data dataKey,
Data dataValue) |
protected |
KeyBasedMapOperation(String name,
Data dataKey,
Data dataValue,
long ttl) |
protected |
KeyBasedMapOperation(String name,
Data dataKey,
long ttl) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
void |
beforeRun() |
protected void |
evict(boolean backup) |
Data |
getKey() |
String |
getName() |
long |
getThreadId() |
long |
getTtl() |
Data |
getValue() |
void |
innerBeforeRun() |
protected void |
invalidateNearCaches() |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
setThreadId(long threadId) |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponse, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
protected String name
protected Data dataKey
protected long threadId
protected Data dataValue
protected long ttl
protected transient MapService mapService
protected transient MapContainer mapContainer
protected transient PartitionContainer partitionContainer
protected transient RecordStore recordStore
public final String getName()
public final Data getKey()
public final long getThreadId()
public final void setThreadId(long threadId)
public final Data getValue()
public final long getTtl()
public final void beforeRun() throws Exception
public void innerBeforeRun()
public void afterRun() throws Exception
public boolean returnsResponse()
returnsResponse
in interface RemotePropagatable<Operation>
returnsResponse
in class Operation
protected final void invalidateNearCaches()
protected void evict(boolean backup)
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class Operation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.