public abstract class SampledSpanStoreImpl
extends io.opencensus.trace.export.SampledSpanStore
SampledSpanStore.io.opencensus.trace.export.SampledSpanStore.ErrorFilter, io.opencensus.trace.export.SampledSpanStore.LatencyBucketBoundaries, io.opencensus.trace.export.SampledSpanStore.LatencyFilter, io.opencensus.trace.export.SampledSpanStore.PerSpanNameSummary, io.opencensus.trace.export.SampledSpanStore.Summary| Constructor and Description |
|---|
SampledSpanStoreImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
considerForSampling(RecordEventsSpanImpl span)
Considers to save the given spans to the stored samples.
|
abstract boolean |
getEnabled()
Returns
true if the SampledSpanStore is enabled. |
static SampledSpanStoreImpl |
getNoopSampledSpanStoreImpl()
Returns the new no-op implmentation of
SampledSpanStoreImpl. |
protected void |
shutdown() |
public static SampledSpanStoreImpl getNoopSampledSpanStoreImpl()
SampledSpanStoreImpl.public abstract void considerForSampling(RecordEventsSpanImpl span)
span - the span to be consider for storing into the store buckets.public abstract boolean getEnabled()
true if the SampledSpanStore is enabled.true if the SampledSpanStore is enabled.protected void shutdown()