Class ReservoirConstants


  • public final class ReservoirConstants
    extends Object
    The constants that determine the behaviour of sliding windows and their trimmers.
    Author:
    Stepan Vavra
    • Field Detail

      • COLLISION_BUFFER_POWER

        public static final int COLLISION_BUFFER_POWER
        Allow for 2^that many duplicate ticks before throwing away measurements. This value is by default DEFAULT_COLLISION_BUFFER_POWER, but it can be configured with COLLISION_BUFFER_POWER_JVM_ARG JVM argument
      • COLLISION_BUFFER

        public static final int COLLISION_BUFFER
        The size of the collision buffer derived from the collision buffer power.
      • TRIM_THRESHOLD

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