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 Type
    Method
    Description
    The 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

      Optional<String> getTransactionId()
      Transaction Id of the last successfully processed event within the current block.
      Returns:
      A transaction Id.