public class LocalClusterReplicationDataConflict extends Object implements DataConflict
Modifier | Constructor and Description |
---|---|
protected |
LocalClusterReplicationDataConflict(AbstractLocalClusterOperationData[] operationData) |
Modifier and Type | Method and Description |
---|---|
void |
abortAll()
Indicates that all of the operations associated with the
DataConflict will be
aborted. |
DataConflictOperation[] |
getOperations()
Gets all the conflicted operations, for a non transactional conflict, this will contain a
single operation that causes the conflict.
|
String |
getResolutionDescription() |
void |
overrideAll()
Indicates that all of the operations associated with the
DataConflict will be
overridden. |
String |
toString() |
protected LocalClusterReplicationDataConflict(AbstractLocalClusterOperationData[] operationData)
public DataConflictOperation[] getOperations()
DataConflict
DataConflict
instance represents a
transaction conflict, all of the operation under the transaction are returned, even
operations that did not cause any conflict.getOperations
in interface DataConflict
public void abortAll()
DataConflict
DataConflict
will be
aborted. This is equivalent to iterating over all the operations and calling DataConflictOperation.abort()
on each one.abortAll
in interface DataConflict
public void overrideAll()
DataConflict
DataConflict
will be
overridden. This is equivalent to iterating over all the operations and calling DataConflictOperation.override()
on each one. Each operation has a different logic when
it gets overridden depends on the conflict that occurred (refer to DataConflictOperation.override()
for more information}.
overrideAll
in interface DataConflict
public String getResolutionDescription()
Copyright © GigaSpaces.