public class LocalFileSpanReceiver extends Object implements SpanReceiver
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_CAPACITY |
static long |
DEFAULT_EXECUTOR_TERMINATION_TIMEOUT_DURATION |
static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
LocalFileSpanReceiver() |
| 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.
|
void |
receiveSpan(Span span)
Called when a Span is stopped and can now be stored.
|
public static final int DEFAULT_CAPACITY
public static final long DEFAULT_EXECUTOR_TERMINATION_TIMEOUT_DURATION
public static final org.apache.commons.logging.Log LOG
public void configure(HTraceConfiguration conf)
SpanReceiverconfigure in interface SpanReceiverpublic void receiveSpan(Span span)
SpanReceiverreceiveSpan in interface SpanReceiverpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2014. All Rights Reserved.