public class LocalFileSpanReceiver extends Object implements SpanReceiver
| Modifier and Type | Field and Description |
|---|---|
static int |
CAPACITY_DEFAULT |
static String |
CAPACITY_KEY |
static long |
EXECUTOR_TERMINATION_TIMEOUT_DURATION_DEFAULT |
static org.apache.commons.logging.Log |
LOG |
static String |
PATH_KEY |
| 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 org.apache.commons.logging.Log LOG
public static final String PATH_KEY
public static final String CAPACITY_KEY
public static final int CAPACITY_DEFAULT
public static final long EXECUTOR_TERMINATION_TIMEOUT_DURATION_DEFAULT
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.