Class Statistics


public class Statistics
extends java.lang.Object
Per-Rule statistics maintained by the sampler. Used for making sampling decisions and for reporting rule usage to X-Ray.
  • Constructor Summary

    Constructor Description
  • Method Summary

    Modifier and Type Method Description
    int getBorrowed()  
    int getRequests()  
    int getSampled()  
    void incBorrowed()  
    void incRequest()  
    void incSampled()  
    void reset()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Statistics

      public Statistics()
  • Method Details

    • reset

      public void reset()
    • incRequest

      public void incRequest()
    • incSampled

      public void incSampled()
    • incBorrowed

      public void incBorrowed()
    • getRequests

      public int getRequests()
    • getSampled

      public int getSampled()
    • getBorrowed

      public int getBorrowed()