Class ReservoirConstants


  • public final class ReservoirConstants
    extends java.lang.Object
    The constants that determine the behaviour of sliding windows and their trimmers.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int COLLISION_BUFFER
      The size of the collision buffer derived from the collision buffer power.
      static int COLLISION_BUFFER_POWER
      Allow for 2^that many duplicate ticks before throwing away measurements.
      static int TRIM_THRESHOLD
      Only trim on updating once every N.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ReservoirConstants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • COLLISION_BUFFER_POWER

        public static final int COLLISION_BUFFER_POWER
        Allow for 2^that many duplicate ticks before throwing away measurements.
        See Also:
        Constant Field Values
      • COLLISION_BUFFER

        public static final int COLLISION_BUFFER
        The size of the collision buffer derived from the collision buffer power.
        See Also:
        Constant Field Values
      • TRIM_THRESHOLD

        public static final int TRIM_THRESHOLD
        Only trim on updating once every N.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReservoirConstants

        private ReservoirConstants()