public class LocalClusterChangeOperationData extends AbstractLocalClusterOperationData implements DataSyncChangeSet
DataConflictOperation.OperationType_aborted, _conflictCause, _pendingOperations, _previousConflictCause, _retriesCount, _spaceProxy| Constructor and Description |
|---|
LocalClusterChangeOperationData(ISpaceProxy spaceProxy,
ITypeDesc typeDescriptor,
String uid,
Object id,
int version,
int previousVersion,
int routingHash,
long timeToLive,
Collection<SpaceEntryMutator> mutators) |
| 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 |
getId() |
Object |
getOperationEntry()
Deprecated.
|
Collection |
getOperations() |
DataConflictOperation.OperationType |
getOperationType()
Deprecated.
|
Object |
getSpaceId() |
long |
getTimeToLive() |
String |
getUid() |
int |
getVersion() |
boolean |
supportsBatching() |
boolean |
supportsDataAsDocument() |
boolean |
supportsDataAsObject() |
boolean |
supportsGetSpaceId() |
boolean |
supportsOverride() |
abort, addPendingOperation, convertExceptionToConflict, getConflictCause, getResolutionDescription, getResolveAttempt, getRetriesCount, getTypeDescriptor, hasConflict, incrementResolveAttempt, incrementRetriesCounter, isAborted, isOverriden, isRetryable, isSameOperationType, override, overrideImpl, reset, setConflictCause, supportsAbort, supportsGetTypeDescriptor, toStringpublic LocalClusterChangeOperationData(ISpaceProxy spaceProxy, ITypeDesc typeDescriptor, String uid, Object id, int version, int previousVersion, int routingHash, long timeToLive, Collection<SpaceEntryMutator> mutators)
@Deprecated public DataConflictOperation.OperationType getOperationType()
getOperationType in interface DataConflictOperation@Deprecated public Object getOperationEntry()
getOperationEntry in interface DataConflictOperationpublic boolean supportsOverride()
supportsOverride in interface DataConflictOperationpublic String getUid()
getUid in interface DataSyncOperationpublic DataSyncOperationType getDataSyncOperationType()
getDataSyncOperationType in interface DataSyncOperationpublic Object getDataAsObject()
getDataAsObject in interface DataSyncOperationDataSyncOperation.supportsDataAsObject() return true, otherwise an exception will be thrown.public SpaceDocument getDataAsDocument()
getDataAsDocument in interface DataSyncOperationDataSyncOperation.supportsDataAsDocument() return true, otherwise an exception will be thrown.public boolean supportsDataAsObject()
supportsDataAsObject in interface DataSyncOperationDataSyncOperation.getDataAsObject() operation.public boolean supportsDataAsDocument()
supportsDataAsDocument in interface DataSyncOperationDataSyncOperation.getDataAsDocument() operation.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 supportsBatching()
supportsBatching in class AbstractLocalClusterOperationDatapublic Collection getOperations()
getOperations in interface DataSyncChangeSetpublic Object getId()
getId in interface DataSyncChangeSetpublic int getVersion()
getVersion in interface DataSyncChangeSetpublic long getTimeToLive()
getTimeToLive in interface DataSyncChangeSetpublic boolean supportsGetSpaceId()
supportsGetSpaceId in interface DataSyncOperationDataSyncOperation.getSpaceId() operation.public Object getSpaceId()
getSpaceId in interface DataSyncOperationCopyright © GigaSpaces.