public interface SimpleQueryProfilerMBean extends FacultativeMBean
| Modifier and Type | Method and Description |
|---|---|
long |
getQueryCount()
Retrieve the number of queries for which the accumulation was done.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> |
getValues()
Returns accumulated values for each query.
|
void |
print(java.lang.String file)
Print query values to the file
|
void |
reset()
Reset counters
|
enable, getAnnotation, isEnabled, setAnnotationjava.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Long>> getValues()
long getQueryCount()
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