Interface FlushStrategy.FlushSender

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

    public static interface FlushStrategy.FlushSender
    An abstraction for a FlushStrategy to flush writes by calling flush().
    • Method Detail

      • flush

        void flush()
        Sends a flush on the associated connection. This method can be invoked from any thread, however, when a deterministic write-flush ordering is required, it should be called from within a relevant method of FlushStrategy.WriteEventsListener.