Class LocalClusterReplicationDataConflict

java.lang.Object
com.gigaspaces.internal.cluster.node.impl.gateway.sink.LocalClusterReplicationDataConflict
All Implemented Interfaces:
DataConflict

public class LocalClusterReplicationDataConflict extends Object implements DataConflict
Since:
8.0.3
Author:
eitany
  • Constructor Details

  • Method Details

    • getOperations

      public DataConflictOperation[] getOperations()
      Description copied from interface: DataConflict
      Gets all the conflicted operations, for a non transactional conflict, this will contain a single operation that causes the conflict. If the DataConflict instance represents a transaction conflict, all of the operation under the transaction are returned, even operations that did not cause any conflict.
      Specified by:
      getOperations in interface DataConflict
      Returns:
      The operations associated with the conflict.
    • abortAll

      public void abortAll()
      Description copied from interface: DataConflict
      Indicates that all of the operations associated with the DataConflict will be aborted. This is equivalent to iterating over all the operations and calling DataConflictOperation.abort() on each one.
      Specified by:
      abortAll in interface DataConflict
    • overrideAll

      public void overrideAll()
      Description copied from interface: DataConflict
      Indicates that all of the operations associated with the 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}.

      Specified by:
      overrideAll in interface DataConflict
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getResolutionDescription

      public String getResolutionDescription()