Class LocalClusterReplicationDataConflict
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.gateway.sink.LocalClusterReplicationDataConflict
- All Implemented Interfaces:
DataConflict
- Since:
- 8.0.3
- Author:
- eitany
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLocalClusterReplicationDataConflict(AbstractLocalClusterOperationData[] operationData) -
Method Summary
Modifier and TypeMethodDescriptionvoidabortAll()Indicates that all of the operations associated with theDataConflictwill be aborted.Gets all the conflicted operations, for a non transactional conflict, this will contain a single operation that causes the conflict.voidIndicates that all of the operations associated with theDataConflictwill be overridden.toString()
-
Constructor Details
-
LocalClusterReplicationDataConflict
-
-
Method Details
-
getOperations
Description copied from interface:DataConflictGets all the conflicted operations, for a non transactional conflict, this will contain a single operation that causes the conflict. If theDataConflictinstance represents a transaction conflict, all of the operation under the transaction are returned, even operations that did not cause any conflict.- Specified by:
getOperationsin interfaceDataConflict- Returns:
- The operations associated with the conflict.
-
abortAll
public void abortAll()Description copied from interface:DataConflictIndicates that all of the operations associated with theDataConflictwill be aborted. This is equivalent to iterating over all the operations and callingDataConflictOperation.abort()on each one.- Specified by:
abortAllin interfaceDataConflict
-
overrideAll
public void overrideAll()Description copied from interface:DataConflictIndicates that all of the operations associated with theDataConflictwill be overridden. This is equivalent to iterating over all the operations and callingDataConflictOperation.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}.- Specified by:
overrideAllin interfaceDataConflict
-
toString
-
getResolutionDescription
-