public interface Sender
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flushes measurements still held and forces them to be sent.
|
void |
send(java.util.Collection<Measure> measures)
Send the given Measures.
|
void |
send(Measure m)
Send the given
Measure. |
void flush()
void send(Measure m)
Measure.
Depending on the implementation, the Sender is allowed to enqueue the real sending action.m - the Measure to be sent, if null this method is a NOOP