Interface OperationListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OperationListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    operationAdded(Translog.Serialized operation, long seqNo, Translog.Location location)
    This method is called when a new operation is added to the translog.
  • Method Details

    • operationAdded

      void operationAdded(Translog.Serialized operation, long seqNo, Translog.Location location)
      This method is called when a new operation is added to the translog.
      Parameters:
      operation - the serialized operation added to the translog
      seqNo - the sequence number of the operation
      location - the location written