Interface Heartbeat.OffsetProducer

Enclosing interface:
Heartbeat
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 static interface Heartbeat.OffsetProducer
Returns the offset to be used when emitting a heartbeat event. This supplier interface allows for a lazy creation of the offset only when a heartbeat actually is sent, in cases where it's determination is costly.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details