Class Reservoir


  • public class Reservoir
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Reservoir()  
      Reservoir​(int tracesPerSecond)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getTracesPerSecond()  
      boolean take()  
      • Methods inherited from class java.lang.Object

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

      • Reservoir

        public Reservoir()
      • Reservoir

        public Reservoir​(int tracesPerSecond)
    • Method Detail

      • take

        public boolean take()
      • getTracesPerSecond

        public int getTracesPerSecond()
        Returns:
        the tracesPerSecond