public class TxnReserveOfferBackupOperation extends QueueOperation implements BackupOperation, MutatingOperation
Adds the item ID to the collection of IDs offered by a transaction. The check if the queue can accomodate for all items offered in a transaction is done on the partition owner.
response
name
GENERIC_PARTITION_ID
Constructor and Description |
---|
TxnReserveOfferBackupOperation() |
TxnReserveOfferBackupOperation(String name,
long itemId,
String transactionId) |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, getContainer, getFactoryId, getQueueService, getResponse, getServiceName, hasListener, publishEvent
getName, toString
executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, 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
getName
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
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.