public abstract class KeyBasedMapOperation extends MapOperation implements PartitionAwareOperation, Versioned
Modifier and Type | Field and Description |
---|---|
protected Data |
dataKey |
protected Data |
dataValue |
protected long |
maxIdle |
protected long |
threadId |
protected long |
ttl |
createRecordStoreOnDemand, disableWanReplicationEvent, 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,
long maxIdle) |
protected |
KeyBasedMapOperation(String name,
Data dataKey,
long ttl,
long maxIdle) |
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, canThisOpGenerateWANEvent, evict, getCallerProvenance, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, publishLoadAsWanUpdate, publishWanRemove, publishWanUpdate, 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, requiresExplicitServiceName, 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
protected long maxIdle
public KeyBasedMapOperation()
protected KeyBasedMapOperation(String name, Data dataKey, long ttl, long maxIdle)
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 © 2020 Hazelcast, Inc.. All Rights Reserved.