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.
@FunctionalInterface public static interface FlushStrategy.FlushSender
An abstraction for aFlushStrategy
to flush writes by callingflush()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flush()
Sends a flush on the associated connection.
-
-
-
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 ofFlushStrategy.WriteEventsListener
.
-
-