Class EventRateSimpleMovingAverage.CounterPartition
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.LongAdder
org.terracotta.statistics.derived.EventRateSimpleMovingAverage.CounterPartition
- All Implemented Interfaces:
Serializable
- Enclosing class:
- EventRateSimpleMovingAverage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate static final longprivate final long -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.atomic.LongAdder
add, decrement, doubleValue, floatValue, increment, intValue, longValue, reset, sum, sumThenReset, toStringMethods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
start
private final long start -
end
private final long end
-
-
Constructor Details
-
CounterPartition
CounterPartition(long start, long length)
-
-
Method Details
-
targetFor
public boolean targetFor(long time) -
isBefore
public boolean isBefore(long time) -
start
public long start() -
end
public long end()
-