Class ReservoirConstants
java.lang.Object
org.glassfish.jersey.server.internal.monitoring.core.ReservoirConstants
The constants that determine the behaviour of sliding windows and their trimmers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The size of the collision buffer derived from the collision buffer power.static final int
Allow for 2^that many duplicate ticks before throwing away measurements.static final int
Only trim on updating once every N. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
COLLISION_BUFFER_POWER
public static final int COLLISION_BUFFER_POWERAllow for 2^that many duplicate ticks before throwing away measurements.- See Also:
-
COLLISION_BUFFER
public static final int COLLISION_BUFFERThe size of the collision buffer derived from the collision buffer power.- See Also:
-
TRIM_THRESHOLD
public static final int TRIM_THRESHOLDOnly trim on updating once every N.- See Also:
-
-
Constructor Details
-
ReservoirConstants
private ReservoirConstants()
-