public abstract class KeyBasedMapOperation extends MapOperation implements PartitionAwareOperation
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 |
---|---|
|
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 |
---|---|
Data |
getKey() |
long |
getThreadId() |
long |
getTtl() |
Data |
getValue() |
protected void |
readInternal(ObjectDataInput in) |
void |
setThreadId(long threadId) |
protected void |
writeInternal(ObjectDataOutput out) |
beforeRun, evict, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapService
getName, toString
afterRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, 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
getId
readData, writeData
protected Data dataKey
protected long threadId
protected Data dataValue
protected 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()
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 © 2018 Hazelcast, Inc.. All Rights Reserved.