public abstract class AbstractLocalClusterWriteOperationData extends AbstractLocalClusterOperationData
DataConflictOperation.OperationType_aborted, _conflictCause, _pendingOperations, _previousConflictCause, _retriesCount, _spaceProxy| Constructor and Description |
|---|
AbstractLocalClusterWriteOperationData(ISpaceProxy spaceProxy,
IEntryPacket entryPacket) |
| 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() |
Object |
getOperationEntry() |
protected abstract int |
getOverrideUpdateModifiers() |
Object |
getSpaceId() |
String |
getUid() |
protected abstract int |
getUpdateModifiersImpl() |
protected abstract boolean |
isConflictError(Throwable error) |
protected boolean |
isOverriden() |
boolean |
isSameOperationType(AbstractLocalClusterOperationData operationData) |
protected void |
overrideImpl() |
void |
setConflictCause(ConflictCause conflictCause) |
boolean |
supportsDataAsDocument() |
boolean |
supportsDataAsObject() |
boolean |
supportsGetSpaceId() |
boolean |
supportsOverride() |
abort, addPendingOperation, convertExceptionToConflict, getConflictCause, getResolutionDescription, getResolveAttempt, getRetriesCount, getTypeDescriptor, hasConflict, incrementResolveAttempt, incrementRetriesCounter, isAborted, isRetryable, override, reset, supportsAbort, supportsBatching, supportsGetTypeDescriptor, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOperationTypegetDataSyncOperationTypepublic AbstractLocalClusterWriteOperationData(ISpaceProxy spaceProxy, IEntryPacket entryPacket)
public boolean execute(Transaction transaction) throws Exception
AbstractLocalClusterOperationDataISpaceProxy with the provided Transaction instance.execute in class AbstractLocalClusterOperationDatatransaction - The Transaction to with the operations.Exceptionpublic boolean supportsOverride()
protected void overrideImpl()
overrideImpl in class AbstractLocalClusterOperationDatapublic boolean isSameOperationType(AbstractLocalClusterOperationData operationData)
isSameOperationType in class AbstractLocalClusterOperationDataAbstractLocalClusterOperationData is of the same class
type.protected abstract boolean isConflictError(Throwable error)
protected abstract int getOverrideUpdateModifiers()
protected abstract int getUpdateModifiersImpl()
public Object getOperationEntry()
public String getUid()
protected boolean isOverriden()
isOverriden in class AbstractLocalClusterOperationDatapublic void setConflictCause(ConflictCause conflictCause)
setConflictCause in class AbstractLocalClusterOperationDatapublic 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.