public interface NanoCounterMBean extends FacultativeMBean
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Get the number of operations
|
long |
getTotalTimeMs()
Return total time in ms
|
long |
getTotalTimeNs()
Return total time in ns
|
void |
print(java.lang.String file)
Print counters' values to the file
|
void |
reset()
Reset counters
|
enable, getAnnotation, isEnabled, setAnnotation
long getTotalTimeNs()
long getTotalTimeMs()
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