com.r3corda.node.services.persistence / DBCheckpointStorage / forEach

forEach

fun forEach(block: (Checkpoint) -> Boolean): Unit
Overrides CheckpointStorage.forEach

Allows the caller to process safely in a thread safe fashion the set of all checkpoints. The checkpoints are only valid during the lifetime of a single call to the block, to allow memory management. Return false from the block to terminate further iteration.