Class LocalClusterWriteOperationData
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.gateway.sink.AbstractLocalClusterOperationData
com.gigaspaces.internal.cluster.node.impl.gateway.sink.AbstractLocalClusterWriteOperationData
com.gigaspaces.internal.cluster.node.impl.gateway.sink.LocalClusterWriteOperationData
- All Implemented Interfaces:
DataConflictOperation, DataSyncOperation
Operation executor for write operation by a gateway sink component against an
ISpaceProxy
instance representing the local cluster.- Since:
- 8.0.3
- Author:
- idan
-
Nested Class Summary
Nested classes/interfaces inherited from interface DataConflictOperation
DataConflictOperation.OperationType -
Field Summary
Fields inherited from class AbstractLocalClusterOperationData
_aborted, _conflictCause, _pendingOperations, _previousConflictCause, _retriesCount, _spaceProxy -
Constructor Summary
ConstructorsConstructorDescriptionLocalClusterWriteOperationData(ISpaceProxy spaceProxy, IEntryPacket entryPacket) -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected intprotected booleanisConflictError(Throwable error) booleanMethods inherited from class AbstractLocalClusterWriteOperationData
execute, getDataAsDocument, getDataAsObject, getOperationEntry, getSpaceId, getUid, isOverriden, isSameOperationType, overrideImpl, setConflictCause, supportsDataAsDocument, supportsDataAsObject, supportsGetSpaceId, supportsOverrideMethods inherited from class AbstractLocalClusterOperationData
abort, addPendingOperation, convertExceptionToConflict, getConflictCause, getResolutionDescription, getResolveAttempt, getRetriesCount, getTypeDescriptor, hasConflict, incrementResolveAttempt, incrementRetriesCounter, isAborted, isRetryable, override, reset, supportsAbort, supportsGetTypeDescriptor, toString
-
Constructor Details
-
LocalClusterWriteOperationData
-
-
Method Details
-
supportsBatching
public boolean supportsBatching()- Specified by:
supportsBatchingin classAbstractLocalClusterOperationData- Returns:
- true if the operation supports batching.
-
isConflictError
- Specified by:
isConflictErrorin classAbstractLocalClusterWriteOperationData
-
getUpdateModifiersImpl
protected int getUpdateModifiersImpl()- Specified by:
getUpdateModifiersImplin classAbstractLocalClusterWriteOperationData
-
getOperationType
- Returns:
- The operation type.
-
getDataSyncOperationType
- Returns:
- the operation type.
-
getOverrideUpdateModifiers
protected int getOverrideUpdateModifiers()- Specified by:
getOverrideUpdateModifiersin classAbstractLocalClusterWriteOperationData
-