public class TxnRollbackOperation extends MutatingKeyBasedMapOperation implements BackupAwareOperation, Notifier
dataKey, dataValue, threadId, ttlcreateRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStorenameGENERIC_PARTITION_ID| Modifier | Constructor and Description |
|---|---|
|
TxnRollbackOperation() |
protected |
TxnRollbackOperation(int partitionId,
String name,
Data dataKey,
String ownerUuid) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncBackupCount()
The asynchronous backup count.
|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
int |
getId()
Returns type identifier for this class.
|
WaitNotifyKey |
getNotifiedKey() |
Object |
getResponse() |
int |
getSyncBackupCount()
The synchronous backup count.
|
void |
logError(Throwable e)
Logs Exception/Error thrown during operation execution.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
boolean |
shouldNotify() |
protected void |
writeInternal(ObjectDataOutput out) |
getKey, getThreadId, getTtl, getValue, setThreadIdbeforeRun, evict, getFactoryId, getServiceName, getServiceNamespace, innerBeforeRun, invalidateAllKeysInNearCaches, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapServicegetName, toStringafterRun, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdreadData, writeDataprotected TxnRollbackOperation(int partitionId,
String name,
Data dataKey,
String ownerUuid)
public TxnRollbackOperation()
public void logError(Throwable e)
Operationpublic Object getResponse()
getResponse in class Operationpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic final Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationBackupOperation responsible for making the backup.public final int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationpublic final int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationpublic boolean shouldNotify()
shouldNotify in interface Notifierpublic WaitNotifyKey getNotifiedKey()
getNotifiedKey in interface Notifierprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class MutatingKeyBasedMapOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class MutatingKeyBasedMapOperationIOExceptionpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.