public interface Client<R> extends Closeable, Flushable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
boolean |
send(R span)
All clients should control how they send spans to somewhere
|
void close()
throws ClientException
close in interface AutoCloseableclose in interface CloseableClientExceptionvoid flush()
throws ClientException
flush in interface FlushableClientExceptionboolean send(R span) throws ClientException
span - Span to send off to the endpointtrue if the operation was successful,
false if it was unsuccessfulClientException - throws a ClientException if an exception occuredCopyright © 2019. All rights reserved.