public class CumulativeFunctionCounter<T> extends AbstractMeter implements FunctionCounter
FunctionCounter.Builder<T>Meter.Id, Meter.Type| Constructor and Description |
|---|
CumulativeFunctionCounter(Meter.Id id,
T obj,
ToDoubleFunction<T> f) |
| Modifier and Type | Method and Description |
|---|---|
double |
count() |
getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, measurepublic CumulativeFunctionCounter(Meter.Id id, T obj, ToDoubleFunction<T> f)
public double count()
count in interface FunctionCounterCopyright © 2020 LeanCloud. All rights reserved.