@ThreadSafe public final class RunningSpanStoreImpl extends io.opencensus.trace.export.RunningSpanStore
RunningSpanStore.| Constructor and Description |
|---|
RunningSpanStoreImpl() |
| Modifier and Type | Method and Description |
|---|---|
Collection<io.opencensus.trace.export.SpanData> |
getRunningSpans(io.opencensus.trace.export.RunningSpanStore.Filter filter) |
io.opencensus.trace.export.RunningSpanStore.Summary |
getSummary() |
void |
onEnd(SpanImpl span)
Removes the
Span from the running spans list when the Span ends. |
void |
onStart(SpanImpl span)
Adds the
Span into the running spans list when the Span starts. |
public void onStart(SpanImpl span)
Span into the running spans list when the Span starts.span - the Span that started.public void onEnd(SpanImpl span)
Span from the running spans list when the Span ends.span - the Span that ended.public io.opencensus.trace.export.RunningSpanStore.Summary getSummary()
getSummary in class io.opencensus.trace.export.RunningSpanStorepublic Collection<io.opencensus.trace.export.SpanData> getRunningSpans(io.opencensus.trace.export.RunningSpanStore.Filter filter)
getRunningSpans in class io.opencensus.trace.export.RunningSpanStore