public class PutOperation extends AbstractReplicatedMapOperation implements PartitionAwareOperation, IdentifiedDataSerializable
key, name, response, ttl, value
GENERIC_PARTITION_ID
Constructor and Description |
---|
PutOperation() |
PutOperation(String name,
Data key,
Data value) |
PutOperation(String name,
Data key,
Data value,
long ttl) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getMemberAddresses, getResponse, returnsResponse, sendReplicationOperation, sendUpdateCallerOperation, toString
beforeRun, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getServiceName, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
readData, writeData
public void afterRun() throws Exception
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class Operation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.