Class LocalClusterRemoveOperationData
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.gateway.sink.AbstractLocalClusterOperationData
com.gigaspaces.internal.cluster.node.impl.gateway.sink.LocalClusterRemoveByUIDOperationData
com.gigaspaces.internal.cluster.node.impl.gateway.sink.LocalClusterRemoveOperationData
- All Implemented Interfaces:
DataConflictOperation,DataSyncOperation
Operation executer for a remove replication sink gateway operation against a local cluster.
The remove operation is made by using the removed entries Uids.
- Since:
- 9.0.1
- Author:
- eitany
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gigaspaces.cluster.replication.gateway.conflict.DataConflictOperation
DataConflictOperation.OperationType -
Field Summary
Fields inherited from class com.gigaspaces.internal.cluster.node.impl.gateway.sink.AbstractLocalClusterOperationData
_aborted, _conflictCause, _pendingOperations, _previousConflictCause, _retriesCount, _spaceProxy -
Constructor Summary
ConstructorsConstructorDescriptionLocalClusterRemoveOperationData(ISpaceProxy spaceProxy, IEntryPacket entryPacket) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanMethods inherited from class com.gigaspaces.internal.cluster.node.impl.gateway.sink.LocalClusterRemoveByUIDOperationData
execute, getUid, isSameOperationType, supportsBatching, supportsOverrideMethods inherited from class com.gigaspaces.internal.cluster.node.impl.gateway.sink.AbstractLocalClusterOperationData
abort, addPendingOperation, convertExceptionToConflict, getConflictCause, getResolutionDescription, getResolveAttempt, getRetriesCount, getTypeDescriptor, hasConflict, incrementResolveAttempt, incrementRetriesCounter, isAborted, isOverriden, isRetryable, override, overrideImpl, reset, setConflictCause, supportsAbort, supportsGetTypeDescriptor, toString
-
Constructor Details
-
LocalClusterRemoveOperationData
-
-
Method Details
-
getOperationType
- Specified by:
getOperationTypein interfaceDataConflictOperation- Overrides:
getOperationTypein classLocalClusterRemoveByUIDOperationData- Returns:
- The operation type.
-
getDataSyncOperationType
- Specified by:
getDataSyncOperationTypein interfaceDataSyncOperation- Overrides:
getDataSyncOperationTypein classLocalClusterRemoveByUIDOperationData- Returns:
- the operation type.
-
getOperationEntry
- Specified by:
getOperationEntryin interfaceDataConflictOperation- Overrides:
getOperationEntryin classLocalClusterRemoveByUIDOperationData- Returns:
- The user entry the operation had a conflict for.
-
supportsDataAsDocument
public boolean supportsDataAsDocument()- Specified by:
supportsDataAsDocumentin interfaceDataSyncOperation- Overrides:
supportsDataAsDocumentin classLocalClusterRemoveByUIDOperationData- Returns:
- whether this data operation support the
DataSyncOperation.getDataAsDocument()operation.
-
getDataAsDocument
- Specified by:
getDataAsDocumentin interfaceDataSyncOperation- Overrides:
getDataAsDocumentin classLocalClusterRemoveByUIDOperationData- Returns:
- the operation data as space document, this can only be used if
DataSyncOperation.supportsDataAsDocument()return true, otherwise an exception will be thrown.
-
supportsDataAsObject
public boolean supportsDataAsObject()- Specified by:
supportsDataAsObjectin interfaceDataSyncOperation- Overrides:
supportsDataAsObjectin classLocalClusterRemoveByUIDOperationData- Returns:
- whether this data operation support the
DataSyncOperation.getDataAsObject()operation.
-
getDataAsObject
- Specified by:
getDataAsObjectin interfaceDataSyncOperation- Overrides:
getDataAsObjectin classLocalClusterRemoveByUIDOperationData- Returns:
- the operation data as object (i.e pojo), this can only be used if
DataSyncOperation.supportsDataAsObject()return true, otherwise an exception will be thrown.
-
supportsGetSpaceId
public boolean supportsGetSpaceId()- Specified by:
supportsGetSpaceIdin interfaceDataSyncOperation- Overrides:
supportsGetSpaceIdin classLocalClusterRemoveByUIDOperationData- Returns:
- whether this data operation support the
DataSyncOperation.getSpaceId()operation.
-
getSpaceId
- Specified by:
getSpaceIdin interfaceDataSyncOperation- Overrides:
getSpaceIdin classLocalClusterRemoveByUIDOperationData- Returns:
- The operation's data Id.
-