Package 

Interface Sampler

    • Method Summary

      Modifier and Type Method Description
      abstract boolean sample() Provides binary answer whether the current event is to be sampled
      abstract boolean keep() Force the sampling decision to keep this item
      abstract boolean drop() Force the sampling decision to drop this item
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sample

         abstract boolean sample()

        Provides binary answer whether the current event is to be sampled

      • keep

         abstract boolean keep()

        Force the sampling decision to keep this item

      • drop

         abstract boolean drop()

        Force the sampling decision to drop this item