Class AlwaysOnFilter

  • All Implemented Interfaces:
    ExemplarFilter

    public final class AlwaysOnFilter
    extends java.lang.Object
    implements ExemplarFilter
    A filter which makes all measurements eligible for being an exemplar.

    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AlwaysOnFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean shouldSampleMeasurement​(double value, Attributes attributes, Context context)
      Returns whether or not a reservoir should attempt to filter a measurement.
      boolean shouldSampleMeasurement​(long value, Attributes attributes, Context context)
      Returns whether or not a reservoir should attempt to filter a measurement.
      • Methods inherited from class java.lang.Object

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