public abstract class MutatingKeyBasedMapOperation extends MapOperation implements PartitionAwareOperation, MutatingOperation
Modifier and Type | Field and Description |
---|---|
protected Data |
dataKey |
protected Data |
dataValue |
protected long |
threadId |
protected long |
ttl |
createRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStore
name
GENERIC_PARTITION_ID
Modifier | Constructor and Description |
---|---|
|
MutatingKeyBasedMapOperation() |
|
MutatingKeyBasedMapOperation(String name,
Data dataKey) |
protected |
MutatingKeyBasedMapOperation(String name,
Data dataKey,
Data dataValue) |
protected |
MutatingKeyBasedMapOperation(String name,
Data dataKey,
Data dataValue,
long ttl) |
protected |
MutatingKeyBasedMapOperation(String name,
Data dataKey,
long ttl) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
Data |
getKey() |
long |
getThreadId() |
long |
getTtl() |
Data |
getValue() |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
setThreadId(long threadId) |
protected void |
writeInternal(ObjectDataOutput out) |
beforeRun, clearNearCache, evict, getServiceName, innerBeforeRun, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapService
getName, toString
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
protected Data dataKey
protected long threadId
protected Data dataValue
protected long ttl
public MutatingKeyBasedMapOperation()
protected MutatingKeyBasedMapOperation(String name, Data dataKey, Data dataValue)
protected MutatingKeyBasedMapOperation(String name, Data dataKey, long ttl)
public final Data getKey()
public final long getThreadId()
getThreadId
in class MapOperation
public final void setThreadId(long threadId)
setThreadId
in class MapOperation
public final Data getValue()
public final long getTtl()
public void afterRun() throws Exception
afterRun
in class MapOperation
Exception
public boolean returnsResponse()
returnsResponse
in class Operation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractNamedOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractNamedOperation
IOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.