public class LocalFileSpanReceiver extends SpanReceiver
SpanReceiver.Builder| Modifier and Type | Field and Description |
|---|---|
static int |
CAPACITY_DEFAULT |
static String |
CAPACITY_KEY |
static String |
PATH_KEY |
| Constructor and Description |
|---|
LocalFileSpanReceiver(HTraceConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static String |
getUniqueLocalTraceFileName() |
void |
receiveSpan(Span span)
Called when a Span is stopped and can now be stored.
|
getIdpublic static final String PATH_KEY
public static final String CAPACITY_KEY
public static final int CAPACITY_DEFAULT
public LocalFileSpanReceiver(HTraceConfiguration conf)
public void receiveSpan(Span span)
SpanReceiverreceiveSpan in class SpanReceiverpublic void close()
throws IOException
IOExceptionpublic static String getUniqueLocalTraceFileName()
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.