Class PitrGlobalStateWatch

java.lang.Object
org.gridgain.internal.pitr.metastorage.PitrGlobalStateWatch
All Implemented Interfaces:
org.apache.ignite.internal.metastorage.WatchListener

public class PitrGlobalStateWatch extends Object implements org.apache.ignite.internal.metastorage.WatchListener
Watches the metastorage for changes in the global PITR states and manages local PITR states.
  • Constructor Details

  • Method Details

    • onUpdate

      public CompletableFuture<Void> onUpdate(org.apache.ignite.internal.metastorage.WatchEvent event)
      Specified by:
      onUpdate in interface org.apache.ignite.internal.metastorage.WatchListener
    • cancelAllOngoingPitrOperationsDueToLocalFailure

      public CompletableFuture<Void> cancelAllOngoingPitrOperationsDueToLocalFailure()
      Cancels local recovery operations.
      Returns:
      Future that completes when all running recoveries are finished.
    • updatePitrReader

      @TestOnly public void updatePitrReader(Function<PitrManagerContext,PitrReader> mapper)