Package org.hyperledger.fabric.client
Interface Checkpoint
- All Known Subinterfaces:
Checkpointer
- All Known Implementing Classes:
FileCheckpointer
,InMemoryCheckpointer
public interface Checkpoint
Checkpoint provides the current position for event processing.
-
Method Summary
Modifier and TypeMethodDescriptionThe block number in which the next event is expected.Transaction Id of the last successfully processed event within the current block.
-
Method Details
-
getBlockNumber
OptionalLong getBlockNumber()The block number in which the next event is expected.- Returns:
- A ledger block number.
-
getTransactionId
Transaction Id of the last successfully processed event within the current block.- Returns:
- A transaction Id.
-