com.hazelcast.map.impl.operation
Class KeyBasedMapOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.map.impl.operation.KeyBasedMapOperation
- All Implemented Interfaces:
- DataSerializable, RemotePropagatable<Operation>, PartitionAwareOperation
- Direct Known Subclasses:
- ContainsKeyOperation, EntryBackupOperation, GetEntryViewOperation, GetOperation, LockAwareOperation, PutBackupOperation, RemoveBackupOperation, TxnPrepareBackupOperation, TxnPrepareOperation, TxnRollbackBackupOperation, TxnRollbackOperation, TxnUnlockBackupOperation
public abstract class KeyBasedMapOperation
- extends Operation
- implements PartitionAwareOperation
Methods inherited from class com.hazelcast.spi.Operation |
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 |
name
protected String name
dataKey
protected Data dataKey
threadId
protected long threadId
dataValue
protected Data dataValue
ttl
protected long ttl
mapService
protected transient MapService mapService
mapContainer
protected transient MapContainer mapContainer
partitionContainer
protected transient PartitionContainer partitionContainer
recordStore
protected transient RecordStore recordStore
KeyBasedMapOperation
public KeyBasedMapOperation()
KeyBasedMapOperation
public KeyBasedMapOperation(String name,
Data dataKey)
KeyBasedMapOperation
protected KeyBasedMapOperation(String name,
Data dataKey,
Data dataValue)
KeyBasedMapOperation
protected KeyBasedMapOperation(String name,
Data dataKey,
long ttl)
KeyBasedMapOperation
protected KeyBasedMapOperation(String name,
Data dataKey,
Data dataValue,
long ttl)
getName
public final String getName()
getKey
public final Data getKey()
getThreadId
public final long getThreadId()
setThreadId
public final void setThreadId(long threadId)
getValue
public final Data getValue()
getTtl
public final long getTtl()
beforeRun
public final void beforeRun()
throws Exception
- Specified by:
beforeRun
in class Operation
- Throws:
Exception
innerBeforeRun
public void innerBeforeRun()
afterRun
public void afterRun()
throws Exception
- Specified by:
afterRun
in class Operation
- Throws:
Exception
returnsResponse
public boolean returnsResponse()
- Specified by:
returnsResponse
in interface RemotePropagatable<Operation>
- Specified by:
returnsResponse
in class Operation
invalidateNearCaches
protected final void invalidateNearCaches()
evict
protected void evict(boolean backup)
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Specified by:
writeInternal
in class Operation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Specified by:
readInternal
in class Operation
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.