public abstract class KeyBasedMapOperation extends Operation implements PartitionAwareOperation, NamedOperation
| Modifier and Type | Field and Description |
|---|---|
protected Data |
dataKey |
protected Data |
dataValue |
protected MapContainer |
mapContainer |
protected MapService |
mapService |
protected String |
name |
protected RecordStore |
recordStore |
protected long |
threadId |
protected long |
ttl |
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID| 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()
Returns the name of the distributed data structure.
|
String |
getServiceName() |
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, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponse, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, readData, run, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdprotected String name
protected Data dataKey
protected long threadId
protected Data dataValue
protected long ttl
protected transient MapService mapService
protected transient MapContainer mapContainer
protected transient RecordStore recordStore
public String getServiceName()
getServiceName in class Operationpublic final String getName()
NamedOperationgetName in interface NamedOperationpublic 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 class Operationprotected final void invalidateNearCaches()
protected void evict(boolean backup)
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class OperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class OperationIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.