Package io.deephaven.base.stats
Class Value
java.lang.Object
io.deephaven.base.stats.Value
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalwaysUpdated
(boolean b) long
getLast()
long
getMax()
long
getMin()
long
getN()
long
getSum()
long
getSum2()
abstract char
void
increment
(long x) void
reset()
void
sample
(long x) void
update
(Item item, ItemUpdateListener listener, long logInterval, long now, long appNow)
-
Field Details
-
n
protected long n -
last
protected long last -
sum
protected long sum -
sum2
protected long sum2 -
max
protected long max -
min
protected long min -
history
-
-
Constructor Details
-
Value
public Value(long now) -
Value
-
-
Method Details
-
getN
public long getN() -
getLast
public long getLast() -
getSum
public long getSum() -
getSum2
public long getSum2() -
getMax
public long getMax() -
getMin
public long getMin() -
sample
public void sample(long x) -
increment
public void increment(long x) -
getTypeTag
public abstract char getTypeTag() -
getHistory
-
alwaysUpdated
-
reset
public void reset() -
update
-