Class CoordinatorState

java.lang.Object
org.gridgain.internal.pitr.CoordinatorState

public class CoordinatorState extends Object
Represents a state specific to the PITR coordinator role.

Multiple instances of this class may exist but they must all shared the same ongoingOperations map and rebalanceWatch.

  • Method Details

    • term

      public long term()
      Coordinator term.
    • onOperationStarted

      public void onOperationStarted(UUID operationId, PitrLocalStateWatch localStateWatch)
      Must be invoked when an operation is requested.
    • onOperationComplete

      public void onOperationComplete(UUID operationId)
      Must be invoked when an operation finishes.