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