public interface QueryProfiler
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString(java.lang.String ts,
java.lang.String comment)
Return the string representation of the counter
|
void |
updateCacheHits(java.lang.String query,
long value)
Update the number of cache hits of a specified query
|
void |
updateCacheMisses(java.lang.String query,
long value)
Update the number of cache misses of a specified query
|
void |
updateHydrateTotalTime(java.lang.String query,
long value)
Update the number of nanoseconds spent in hydrate of a specified query
|
void |
updateRowsCount(java.lang.String query,
long value)
Update the number of rows retrieved from a result set
|
void updateRowsCount(java.lang.String query,
long value)
query - the query for which the update is donevalue - new valuevoid updateCacheHits(java.lang.String query,
long value)
query - the query for which the update is donevalue - the number of cache hitsvoid updateCacheMisses(java.lang.String query,
long value)
query - the query for which the update is donevalue - the number of cache missesvoid updateHydrateTotalTime(java.lang.String query,
long value)
query - the query for which the update is donevalue - the number of nanoseconds spent in hydratejava.lang.String toString(java.lang.String ts,
java.lang.String comment)
ts - the timestampcomment - a specific comment