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)
SpanReceiver
configure
in interface SpanReceiver
public Collection<Span> getSpans()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public void receiveSpan(Span span)
SpanReceiver
receiveSpan
in interface SpanReceiver
Copyright © 2014. All rights reserved.