@StartableByRPC class LedgerRecoveryFlow : FlowLogic<LedgerRecoveryResult>
Ledger Recovery Flow (available in Enterprise only).
ExtraConstructorArgs |
data class ExtraConstructorArgs |
<init> |
LedgerRecoveryFlow(recoveryPeer: Party) LedgerRecoveryFlow(recoveryPeers: Collection<Party>) LedgerRecoveryFlow(useAllNetworkNodes: Boolean) LedgerRecoveryFlow(recoveryPeer: Party, timeWindow: RecoveryTimeWindow) LedgerRecoveryFlow(recoveryPeer: Party, timeWindow: RecoveryTimeWindow, dryRun: Boolean) LedgerRecoveryFlow(recoveryPeer: Party, timeWindow: RecoveryTimeWindow, dryRun: Boolean, verboseLogging: Boolean) LedgerRecoveryFlow(recoveryPeer: Party, timeWindow: RecoveryTimeWindow, dryRun: Boolean, verboseLogging: Boolean, alsoFinalize: Boolean) LedgerRecoveryFlow(recoveryPeers: Collection<Party>, timeWindow: RecoveryTimeWindow) LedgerRecoveryFlow(recoveryPeers: Collection<Party>, timeWindow: RecoveryTimeWindow, dryRun: Boolean) LedgerRecoveryFlow(recoveryPeers: Collection<Party>, timeWindow: RecoveryTimeWindow, dryRun: Boolean, verboseLogging: Boolean) LedgerRecoveryFlow(recoveryPeers: Collection<Party>, timeWindow: RecoveryTimeWindow, dryRun: Boolean, verboseLogging: Boolean, alsoFinalize: Boolean) LedgerRecoveryFlow(useAllNetworkNodes: Boolean, timeWindow: RecoveryTimeWindow) LedgerRecoveryFlow(useAllNetworkNodes: Boolean, timeWindow: RecoveryTimeWindow, dryRun: Boolean) LedgerRecoveryFlow(useAllNetworkNodes: Boolean, timeWindow: RecoveryTimeWindow, dryRun: Boolean, verboseLogging: Boolean) LedgerRecoveryFlow(useAllNetworkNodes: Boolean, timeWindow: RecoveryTimeWindow, dryRun: Boolean, verboseLogging: Boolean, recoveryBatchSize: Int, alsoFinalize: Boolean) LedgerRecoveryFlow(useAllNetworkNodes: Boolean, timeWindow: RecoveryTimeWindow, dryRun: Boolean, verboseLogging: Boolean, recoveryBatchSize: Int) LedgerRecoveryFlow(recoveryPeers: Collection<Party>, timeWindow: RecoveryTimeWindow, useAllNetworkNodes: Boolean, dryRun: Boolean, useTimeWindowNarrowing: Boolean, verboseLogging: Boolean, recoveryBatchSize: Int)
Ledger Recovery Flow (available in Enterprise only). LedgerRecoveryFlow(parameters: LedgerRecoveryParameters, progressTracker: ProgressTracker = ProgressTracker()) |
progressTracker |
Override this to provide a 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. val progressTracker: ProgressTracker |
call |
This is where you fill out your business logic. fun call(): LedgerRecoveryResult |
getExtraConstructorArgs |
fun getExtraConstructorArgs(): ExtraConstructorArgs |
receiveAll |
Suspends until a message has been received for each session in the specified sessions. fun FlowLogic<*>.receiveAll(session: Pair<FlowSession, Class<out Any>>, vararg sessions: Pair<FlowSession, Class<out Any>>): Map<FlowSession, UntrustworthyData<Any>> fun <R : Any> FlowLogic<*>.receiveAll(receiveType: Class<R>, session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>> fun <R : Any> FlowLogic<*>.receiveAll(session: FlowSession, vararg sessions: FlowSession): List<UntrustworthyData<R>> |