Class NoSamplingStrategy

java.lang.Object
com.amazonaws.xray.strategy.sampling.NoSamplingStrategy
All Implemented Interfaces:
SamplingStrategy

public class NoSamplingStrategy
extends java.lang.Object
implements SamplingStrategy
A sampling strategy for which shouldTrace always returns false. Use this sampling strategy to completely disable tracing.
  • Constructor Summary

    Constructors 
    Constructor Description
    NoSamplingStrategy()  
  • Method Summary

    Modifier and Type Method Description
    boolean isForcedSamplingSupported()
    Returns whether or not this sampling strategy supports 'forced sampling'.
    SamplingResponse shouldTrace​(SamplingRequest samplingRequest)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.amazonaws.xray.strategy.sampling.SamplingStrategy

    shutdown