public class POJOSpanReceiver extends Object implements SpanReceiver
| Constructor and Description |
|---|
POJOSpanReceiver(HTraceConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Collection<Span> |
getSpans() |
void |
receiveSpan(Span span)
Called when a Span is stopped and can now be stored.
|
public POJOSpanReceiver(HTraceConfiguration conf)
public Collection<Span> getSpans()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void receiveSpan(Span span)
SpanReceiverreceiveSpan in interface SpanReceiverCopyright © 2015 The Apache Software Foundation. All Rights Reserved.