Interface FlushStrategy.FlushSender
- Enclosing interface:
- FlushStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An abstraction for a
FlushStrategy
to flush writes by calling flush()
.-
Method Summary
-
Method Details
-
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 ofFlushStrategy.WriteEventsListener
.
-