Class PitrStateContext
java.lang.Object
org.gridgain.internal.pitr.metastorage.PitrStateContext
Class encapsulating the state of a recovery process.
-
Method Summary
Modifier and TypeMethodDescriptionlong<T> CompletableFuture<T>inBusyLockAsync(Supplier<CompletableFuture<T>> action) Method that runs the providedactioninbusyLock.state()tables()
-
Method Details
-
operationId
-
state
-
tables
-
causalityToken
public long causalityToken() -
inBusyLockAsync
Method that runs the providedactioninbusyLock.- Type Parameters:
T- Type of returned value fromaction.- Parameters:
action- Function to run.- Returns:
- Future returned from the
fn, or future with theNodeStoppingExceptionifIgniteSpinBusyLock.enterBusy()failed or with runtime exception/error while executing thefn.
-