public class LocalClusterRemoveByUIDOperationData extends AbstractLocalClusterOperationData
DataConflictOperation.OperationType
_aborted, _conflictCause, _pendingOperations, _previousConflictCause, _retriesCount, _spaceProxy
Constructor and Description |
---|
LocalClusterRemoveByUIDOperationData(ISpaceProxy spaceProxy,
String uid,
ITypeDesc typeDescriptor) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(Transaction transaction)
Executes the operation against the provided
ISpaceProxy with the provided Transaction instance. |
SpaceDocument |
getDataAsDocument() |
Object |
getDataAsObject() |
DataSyncOperationType |
getDataSyncOperationType() |
Object |
getOperationEntry() |
DataConflictOperation.OperationType |
getOperationType() |
Object |
getSpaceId() |
String |
getUid() |
boolean |
isSameOperationType(AbstractLocalClusterOperationData operationData) |
boolean |
supportsBatching() |
boolean |
supportsDataAsDocument() |
boolean |
supportsDataAsObject() |
boolean |
supportsGetSpaceId() |
boolean |
supportsOverride() |
abort, addPendingOperation, convertExceptionToConflict, getConflictCause, getResolutionDescription, getResolveAttempt, getRetriesCount, getTypeDescriptor, hasConflict, incrementResolveAttempt, incrementRetriesCounter, isAborted, isOverriden, isRetryable, override, overrideImpl, reset, setConflictCause, supportsAbort, supportsGetTypeDescriptor, toString
public LocalClusterRemoveByUIDOperationData(ISpaceProxy spaceProxy, String uid, ITypeDesc typeDescriptor)
public boolean execute(Transaction transaction) throws Exception
AbstractLocalClusterOperationData
ISpaceProxy
with the provided Transaction
instance.execute
in class AbstractLocalClusterOperationData
transaction
- The Transaction
to with the operations.Exception
public boolean isSameOperationType(AbstractLocalClusterOperationData operationData)
isSameOperationType
in class AbstractLocalClusterOperationData
AbstractLocalClusterOperationData
is of the same class
type.public boolean supportsBatching()
supportsBatching
in class AbstractLocalClusterOperationData
public DataConflictOperation.OperationType getOperationType()
public DataSyncOperationType getDataSyncOperationType()
public Object getOperationEntry()
public String getUid()
public boolean supportsOverride()
public boolean supportsDataAsDocument()
DataSyncOperation.getDataAsDocument()
operation.public SpaceDocument getDataAsDocument()
DataSyncOperation.supportsDataAsDocument()
return true, otherwise an exception will be thrown.public boolean supportsDataAsObject()
DataSyncOperation.getDataAsObject()
operation.public Object getDataAsObject()
DataSyncOperation.supportsDataAsObject()
return true, otherwise an exception will be thrown.public boolean supportsGetSpaceId()
DataSyncOperation.getSpaceId()
operation.public Object getSpaceId()
Copyright © GigaSpaces.