public interface LongMonitoringCounter
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_VALUE
Default value used by the reset method
|
| Modifier and Type | Method and Description |
|---|---|
LongMonitoringCounter |
decrement()
Method decrementing a monitoring counter by one unit
|
LongMonitoringCounter |
decrementByValue(long value)
Method decrementing a monitoring counter by a specific value
|
long |
getValue()
Method returning entity value
|
LongMonitoringCounter |
increment()
Method incrementing a monitoring counter by one unit
|
LongMonitoringCounter |
incrementByValue(long value)
Method incrementing a monitoring counter by a specific value
|
LongMonitoringCounter |
reset()
Method resetting a monitoring entity to its default value
|
LongMonitoringCounter |
setValue(long value)
Method setting a monitoring counter to a specific value
|
static final long DEFAULT_VALUE
LongMonitoringCounter increment()
LongMonitoringCounter incrementByValue(long value)
value - - the value by which the increment is performedLongMonitoringCounter decrement()
LongMonitoringCounter decrementByValue(long value)
value - - the value by which the increment is performedLongMonitoringCounter setValue(long value)
value - - the value to which the counter is setlong getValue()
LongMonitoringCounter reset()
Copyright © 2014–2017. All rights reserved.