public interface QueryStat
| Modifier and Type | Method and Description |
|---|---|
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
|
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()
Copyright © 2010 - 2023 Adobe. All Rights Reserved