Class PitrStateContext

java.lang.Object
org.gridgain.internal.pitr.metastorage.PitrStateContext

public class PitrStateContext extends Object
Class encapsulating the state of a recovery process.
  • Method Details

    • operationId

      public UUID operationId()
    • state

      public PitrGlobalState state()
    • tables

      public Set<TableName> tables()
    • causalityToken

      public long causalityToken()
    • inBusyLockAsync

      public <T> CompletableFuture<T> inBusyLockAsync(Supplier<CompletableFuture<T>> action)
      Method that runs the provided action in busyLock.
      Type Parameters:
      T - Type of returned value from action.
      Parameters:
      action - Function to run.
      Returns:
      Future returned from the fn, or future with the NodeStoppingException if IgniteSpinBusyLock.enterBusy() failed or with runtime exception/error while executing the fn.