FlowRPCOps

interface FlowRPCOps

Functions

Link copied to clipboard
abstract fun debugCheckpoints()
Link copied to clipboard
abstract fun dumpCheckpoints()
Link copied to clipboard
abstract fun pauseAllFlows(): Boolean

Schedule all flows to pause.

Link copied to clipboard

Schedule all Hospitalized flows to pause.

Link copied to clipboard
abstract fun pauseFlow(id: <Error class: unknown class>): Boolean

Schedule a flow to pause. The flow might run until the next suspension point before pausing.

Link copied to clipboard
abstract fun recoverAllFinalityFlows(forceRecover: Boolean = false): Map<<Error class: unknown class>, Boolean>

Recover all failed finality flows as determined by associated status. Specifically, FlowState.FAILED TransactionStatus.IN_FLIGHT forceRecover will also attempt to

Link copied to clipboard
abstract fun recoverFinalityFlow(id: <Error class: unknown class>, forceRecover: Boolean = false): Boolean

Recover a failed finality flow by id. forceRecover will attempt to recover flows which are in a RUNNABLE, PAUSED or HOSPITALIZED state.

Link copied to clipboard
abstract fun recoverFinalityFlowByTxnId(txnId: <Error class: unknown class>, forceRecover: Boolean = false): Boolean

Recover a failed finality flow by transaction id. forceRecover will also attempt to recover flows which are in a RUNNABLE, PAUSED or HOSPITALIZED state. This operation will attempt to recovery failed peers if the initiator-side of the transaction completed successfully.

Link copied to clipboard
abstract fun recoverFinalityFlowByTxnIds(txnIds: Set<<Error class: unknown class>>, forceRecover: Boolean = false): Map<<Error class: unknown class>, Boolean>

Recover a specified set of failed finality flows by transaction id. forceRecover will also attempt to recover flows which are in a RUNNABLE, PAUSED or HOSPITALIZED state. This operation will attempt to recovery failed peers if the initiator-side of the transaction completed successfully.

Link copied to clipboard
abstract fun recoverFinalityFlows(ids: Set<<Error class: unknown class>>, forceRecover: Boolean = false): Map<<Error class: unknown class>, Boolean>

Recover a specified set of failed finality flows by id. forceRecover will attempt to recover flows which are in a RUNNABLE, PAUSED or HOSPITALIZED state.

Link copied to clipboard
abstract fun recoverFinalityFlowsMatching(query: <Error class: unknown class>, forceRecover: Boolean = false): Map<<Error class: unknown class>, Boolean>

Recover flows matching the specified query criteria. forceRecover will also attempt to recover flows which are in a RUNNABLE, PAUSED or HOSPITALIZED state.

Link copied to clipboard

Retry all paused flows.

Link copied to clipboard

Retry all paused flows which were hospitalised (before paused).

Link copied to clipboard
abstract fun retryFlow(id: <Error class: unknown class>): Boolean

Retry a Hospitalised flow or a paused flow.