Package brave.sampler

Interface DeclarativeSampler.ProbabilityOfMethod<M>

All Known Subinterfaces:
DeclarativeSampler.RateForMethod<M>
Enclosing class:
DeclarativeSampler<M>

public static interface DeclarativeSampler.ProbabilityOfMethod<M>
Since:
5.8
  • Method Summary

    Modifier and Type Method Description
    Float get​(M method)
    Returns null if there's no configured sample probability of this method
  • Method Details

    • get

      @Nullable Float get​(M method)
      Returns null if there's no configured sample probability of this method