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.FlushSenderAn abstraction for aFlushStrategyto flush writes by callingflush().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflush()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.
-
-