public interface SimpleLongCounterMBean extends FacultativeMBean
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Get number of calls
|
long |
getTotal()
Get sum of samples
|
void |
print(java.lang.String file)
Print counters' values to the file
|
void |
reset()
Reset counters
|
enable, getAnnotation, isEnabled, setAnnotation
long getTotal()
long getCount()
void reset()
void print(java.lang.String file) throws java.io.IOException
file
- output file name (will be appended if exists)java.io.IOException
- on I/O ERROR