- All Implemented Interfaces:
public class NoSamplingStrategy extends java.lang.Object implements SamplingStrategy
A sampling strategy for which
shouldTracealways returns false. Use this sampling strategy to completely disable tracing.
Constructors Constructor Description
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public boolean isForcedSamplingSupported()Description copied from interface:
SamplingStrategyReturns whether or not this sampling strategy supports 'forced sampling'. Forced sampling allows a segment's initial non-sampled decision to be later overriden to sampled. Supporting this feature requires that all segments, sampled or otherwise, be kept in memory for the duration of their existence. Not supporting this feature saves memory and computational capacity.