com.hazelcast.map.impl.operation
Class PutBackupOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.map.impl.operation.KeyBasedMapOperation
com.hazelcast.map.impl.operation.PutBackupOperation
- All Implemented Interfaces:
- DataSerializable, IdentifiedDataSerializable, BackupOperation, MutatingOperation, NamedOperation, PartitionAwareOperation
public final class PutBackupOperation
- extends KeyBasedMapOperation
- implements BackupOperation, IdentifiedDataSerializable, MutatingOperation
|
Constructor Summary |
PutBackupOperation()
|
PutBackupOperation(String name,
Data dataKey,
Data dataValue,
RecordInfo recordInfo)
|
PutBackupOperation(String name,
Data dataKey,
Data dataValue,
RecordInfo recordInfo,
boolean putTransient)
|
PutBackupOperation(String name,
Data dataKey,
Data dataValue,
RecordInfo recordInfo,
boolean unlockKey,
boolean putTransient)
|
| Methods inherited from class com.hazelcast.map.impl.operation.KeyBasedMapOperation |
beforeRun, evict, getKey, getName, getServiceName, getThreadId, getTtl, getValue, innerBeforeRun, invalidateNearCaches, returnsResponse, setThreadId |
| Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData |
PutBackupOperation
public PutBackupOperation(String name,
Data dataKey,
Data dataValue,
RecordInfo recordInfo)
PutBackupOperation
public PutBackupOperation(String name,
Data dataKey,
Data dataValue,
RecordInfo recordInfo,
boolean putTransient)
PutBackupOperation
public PutBackupOperation(String name,
Data dataKey,
Data dataValue,
RecordInfo recordInfo,
boolean unlockKey,
boolean putTransient)
PutBackupOperation
public PutBackupOperation()
run
public void run()
- Specified by:
run in class Operation
afterRun
public void afterRun()
throws Exception
- Overrides:
afterRun in class KeyBasedMapOperation
- Throws:
Exception
getResponse
public Object getResponse()
- Specified by:
getResponse in class Operation
getFactoryId
public int getFactoryId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns DataSerializableFactory factory id for this class.
- Specified by:
getFactoryId in interface IdentifiedDataSerializable
- Returns:
- factory id
getId
public int getId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns type identifier for this class. Id should be unique per DataSerializableFactory.
- Specified by:
getId in interface IdentifiedDataSerializable
- Returns:
- type id
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Overrides:
writeInternal in class KeyBasedMapOperation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Overrides:
readInternal in class KeyBasedMapOperation
- Throws:
IOException
toString
public String toString()
- Overrides:
toString in class Operation
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.