@StartableByRPC public class LedgerRecoveryFlow extends FlowLogic<T>
Ledger Recovery Flow (available in Enterprise only).
public LedgerRecoveryFlow(@NotNull LedgerRecoveryParameters parameters, @NotNull ProgressTracker progressTracker)
Ledger Recovery Flow (available in Enterprise only).
progressTracker
- Override this to provide a class ProgressTracker
. If one is provided and stepped, the framework will do something
helpful with the progress reports e.g record to the audit service. If this flow is invoked as a subflow of another,
then the tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track
progress.
Note that this has to return a tracker before the flow is invoked. You can't change your mind half way through.
public LedgerRecoveryFlow(@NotNull Party recoveryPeer)
public LedgerRecoveryFlow(@NotNull java.util.Collection<net.corda.core.identity.Party> recoveryPeers)
public LedgerRecoveryFlow(boolean useAllNetworkNodes)
public LedgerRecoveryFlow(@NotNull Party recoveryPeer, @NotNull RecoveryTimeWindow timeWindow)
public LedgerRecoveryFlow(@NotNull Party recoveryPeer, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun)
public LedgerRecoveryFlow(@NotNull Party recoveryPeer, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun, boolean verboseLogging)
public LedgerRecoveryFlow(@NotNull Party recoveryPeer, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun, boolean verboseLogging, boolean alsoFinalize)
public LedgerRecoveryFlow(@NotNull java.util.Collection<net.corda.core.identity.Party> recoveryPeers, @NotNull RecoveryTimeWindow timeWindow)
public LedgerRecoveryFlow(@NotNull java.util.Collection<net.corda.core.identity.Party> recoveryPeers, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun)
public LedgerRecoveryFlow(@NotNull java.util.Collection<net.corda.core.identity.Party> recoveryPeers, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun, boolean verboseLogging)
public LedgerRecoveryFlow(@NotNull java.util.Collection<net.corda.core.identity.Party> recoveryPeers, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun, boolean verboseLogging, boolean alsoFinalize)
public LedgerRecoveryFlow(boolean useAllNetworkNodes, @NotNull RecoveryTimeWindow timeWindow)
public LedgerRecoveryFlow(boolean useAllNetworkNodes, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun)
public LedgerRecoveryFlow(boolean useAllNetworkNodes, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun, boolean verboseLogging)
public LedgerRecoveryFlow(boolean useAllNetworkNodes, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun, boolean verboseLogging, int recoveryBatchSize, boolean alsoFinalize)
public LedgerRecoveryFlow(boolean useAllNetworkNodes, @NotNull RecoveryTimeWindow timeWindow, boolean dryRun, boolean verboseLogging, int recoveryBatchSize)
public LedgerRecoveryFlow(@NotNull java.util.Collection<net.corda.core.identity.Party> recoveryPeers, @NotNull RecoveryTimeWindow timeWindow, boolean useAllNetworkNodes, boolean dryRun, boolean useTimeWindowNarrowing, boolean verboseLogging, int recoveryBatchSize)
@CordaInternal @NotNull public net.corda.core.flows.LedgerRecoveryFlow.ExtraConstructorArgs getExtraConstructorArgs()
@Suspendable @NotNull public LedgerRecoveryResult call()
This is where you fill out your business logic.
@NotNull public ProgressTracker getProgressTracker()
Override this to provide a class ProgressTracker
. If one is provided and stepped, the framework will do something
helpful with the progress reports e.g record to the audit service. If this flow is invoked as a subflow of another,
then the tracker will be made a child of the current step in the parent. If it's null, this flow doesn't track
progress.
Note that this has to return a tracker before the flow is invoked. You can't change your mind half way through.
class ProgressTracker