Class SampledSpanStoreImpl

    • Field Detail

      • NOOP_SAMPLED_SPAN_STORE_IMPL

        private static final SampledSpanStoreImpl NOOP_SAMPLED_SPAN_STORE_IMPL
    • Constructor Detail

      • SampledSpanStoreImpl

        public SampledSpanStoreImpl()
    • Method Detail

      • considerForSampling

        public abstract void considerForSampling​(RecordEventsSpanImpl span)
        Considers to save the given spans to the stored samples. This must be called at the end of each Span with the option RECORD_EVENTS.
        Parameters:
        span - the span to be consider for storing into the store buckets.
      • getEnabled

        public abstract boolean getEnabled()
        Returns true if the SampledSpanStore is enabled.
        Returns:
        true if the SampledSpanStore is enabled.
      • shutdown

        protected void shutdown()