mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
ENT-11037 Expose and use additional Ledger Recovery statistics (#7553)
This commit is contained in:
parent
7f867a0a49
commit
60bcc99154
@ -46,6 +46,8 @@ class ResolveTransactionsFlow private constructor(
|
||||
: this(transaction, transaction.dependencies, otherSide, statesToRecord, deferredAck)
|
||||
|
||||
private var fetchNetParamsFromCounterpart = false
|
||||
// statistics set in DbResolver (Enterprise only) after exiting recordDependencies()
|
||||
var statistics: ResolveTransactionsFlowStats = ResolveTransactionsFlowStats()
|
||||
|
||||
@Suppress("MagicNumber")
|
||||
@Suspendable
|
||||
@ -120,3 +122,10 @@ class ResolveTransactionsFlow private constructor(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data class ResolveTransactionsFlowStats(
|
||||
val resolvableTransactionHashesCount: Long = 0,
|
||||
val downloadedDependencyCount: Long = 0,
|
||||
val recordedTransactionCount: Long = 0,
|
||||
val skippedRecordingTransactionCount: Long = 0
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user