public abstract class SpanReceiver extends Object implements Closeable
SpanReceiver implementations are expected to provide a constructor with the signature
public SpanReceiverImpl(HTraceConfiguration)
| Modifier and Type | Class and Description |
|---|---|
static class |
SpanReceiver.Builder
A
SpanReceiver builder. |
| Modifier | Constructor and Description |
|---|---|
protected |
SpanReceiver() |
| Modifier and Type | Method and Description |
|---|---|
long |
getId()
Get an ID uniquely identifying this SpanReceiver.
|
abstract void |
receiveSpan(Span span)
Called when a Span is stopped and can now be stored.
|
public final long getId()
public abstract void receiveSpan(Span span)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.