Class Listener

java.lang.Object
io.camunda.zeebe.logstreams.impl.log.Listener
All Implemented Interfaces:
LogStorage.AppendListener

public final class Listener extends Object implements LogStorage.AppendListener
  • Constructor Summary

    Constructors
    Constructor
    Description
    Listener(LogStorageAppender appender, long highestPosition, io.prometheus.client.Histogram.Timer startAppendLatencyTimer, io.prometheus.client.Histogram.Timer startCommitLatencyTimer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCommit(long address)
    Called when the entry has been successfully committed.
    void
    onCommitError(long address, Throwable error)
    Called when an error occurs while committing an entry.
    void
    onWrite(long address)
    Called when the entry has been successfully written to the local storage.
    void
    Called when an error occurred while writing to the entry.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Listener

      public Listener(LogStorageAppender appender, long highestPosition, io.prometheus.client.Histogram.Timer startAppendLatencyTimer, io.prometheus.client.Histogram.Timer startCommitLatencyTimer)
  • Method Details