public abstract class StackBasedTracingSpan extends AbstractTracingSpan
StackBasedTracingSpan represents a span with an inside stack construction.
This kind of span can start and finish multi times in a stack-like invoke line.| Modifier and Type | Field and Description |
|---|---|
protected String |
peer |
protected int |
peerId |
protected int |
stackDepth |
componentId, componentName, context, endTime, errorOccurred, isInAsyncMode, layer, logs, operationId, operationName, parentSpanId, refs, spanId, startTime, tags| Modifier | Constructor and Description |
|---|---|
protected |
StackBasedTracingSpan(int spanId,
int parentSpanId,
int operationId) |
|
StackBasedTracingSpan(int spanId,
int parentSpanId,
int operationId,
int peerId) |
|
StackBasedTracingSpan(int spanId,
int parentSpanId,
int operationId,
String peer) |
protected |
StackBasedTracingSpan(int spanId,
int parentSpanId,
String operationName) |
protected |
StackBasedTracingSpan(int spanId,
int parentSpanId,
String operationName,
int peerId) |
protected |
StackBasedTracingSpan(int spanId,
int parentSpanId,
String operationName,
String peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
finish(TraceSegment owner)
Finish the active Span.
|
AbstractSpan |
setPeer(String remotePeer) |
SpanObjectV2.Builder |
transform() |
asyncFinish, errorOccurred, getOperationId, getOperationName, getSpanId, log, log, prepareForAsync, ref, setComponent, setComponent, setLayer, setOperationId, setOperationName, start, start, tag, tagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEntry, isExitprotected int stackDepth
protected String peer
protected int peerId
protected StackBasedTracingSpan(int spanId,
int parentSpanId,
String operationName)
protected StackBasedTracingSpan(int spanId,
int parentSpanId,
int operationId)
public StackBasedTracingSpan(int spanId,
int parentSpanId,
int operationId,
int peerId)
public StackBasedTracingSpan(int spanId,
int parentSpanId,
int operationId,
String peer)
protected StackBasedTracingSpan(int spanId,
int parentSpanId,
String operationName,
String peer)
protected StackBasedTracingSpan(int spanId,
int parentSpanId,
String operationName,
int peerId)
public SpanObjectV2.Builder transform()
transform in class AbstractTracingSpanpublic boolean finish(TraceSegment owner)
AbstractTracingSpanTraceSegment, which owners
it.finish in class AbstractTracingSpanowner - of the Span.public AbstractSpan setPeer(String remotePeer)
Copyright © 2019 The Apache Software Foundation. All rights reserved.