public class POJOSpanReceiver extends Object implements SpanReceiver
| Constructor and Description |
|---|
POJOSpanReceiver() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(HTraceConfiguration conf)
Hosts of SpanReceivers should call this method to provide
configuration to SpanReceivers after creating them.
|
Collection<Span> |
getSpans() |
void |
receiveSpan(Span span)
Called when a Span is stopped and can now be stored.
|
public void configure(HTraceConfiguration conf)
SpanReceiverconfigure in interface SpanReceiverpublic Collection<Span> getSpans()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void receiveSpan(Span span)
SpanReceiverreceiveSpan in interface SpanReceiverCopyright © 2014. All Rights Reserved.