public interface Meter extends UncheckedCloseable
Note that this with mark() measures the rate at which a set of events occur;
whereas Counter
is for things which will increase() - and can also decrease().
Modifier and Type | Method and Description |
---|---|
long |
get()
Gets the total number of events.
|
default void |
mark()
Mark the occurrence of an event.
|
void |
mark(long howMany)
Mark the occurrence of a given number of events.
|
close
default void mark()
void mark(long howMany)
long get()
Copyright © 2019 OpenDaylight. All rights reserved.