public interface Counter extends UncheckedCloseable
Note that if you find you only use its increase() and never decrease()
methods, then you probably want to use Meter
with mark() instead of this.
Modifier and Type | Method and Description |
---|---|
default void |
decrement() |
void |
decrement(long howMany) |
long |
get()
Gets the total number of events.
|
default void |
increment() |
void |
increment(long howMany) |
close
default void increment()
void increment(long howMany)
default void decrement()
void decrement(long howMany)
long get()
Copyright © 2019 OpenDaylight. All rights reserved.