Interface Counter
- All Superinterfaces:
Meter
Represents a counter.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.metrics.Meter
Meter.Id, Meter.Type -
Method Summary
-
Method Details
-
increment
default void increment()Update the counter by one. -
increment
void increment(double amount) Update the counter byamount.- Parameters:
amount- amount to add to the counter
-
count
double count()Returns the cumulative count.- Returns:
- The cumulative count since this counter was created.
-