|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryStat
Statistics on query operations
| Method Summary | |
|---|---|
void |
clearPopularQueriesQueue()
clears the Popular queue |
void |
clearSlowQueriesQueue()
clears the Slow queue |
QueryStatDto[] |
getPopularQueries()
|
int |
getPopularQueriesQueueSize()
|
QueryStatDto[] |
getSlowQueries()
|
int |
getSlowQueriesQueueSize()
|
boolean |
isEnabled()
If this service is currently registering stats |
void |
reset()
clears all data |
void |
setEnabled(boolean enabled)
Enables/Disables the service |
void |
setPopularQueriesQueueSize(int size)
Change the size of the Popular queue |
void |
setSlowQueriesQueueSize(int size)
Change the size of the Slow queue |
| Method Detail |
|---|
QueryStatDto[] getSlowQueries()
getSlowQueriesQueueSize() slowest queriesint getSlowQueriesQueueSize()
void setSlowQueriesQueueSize(int size)
size - the new sizevoid clearSlowQueriesQueue()
QueryStatDto[] getPopularQueries()
getPopularQueriesQueueSize() most popular queriesint getPopularQueriesQueueSize()
void setPopularQueriesQueueSize(int size)
size - the new sizevoid clearPopularQueriesQueue()
boolean isEnabled()
true if the service is enabledvoid setEnabled(boolean enabled)
enabled - void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||