public class QueryStatManager extends java.lang.Object implements QueryStatManagerMBean
NAME
Constructor and Description |
---|
QueryStatManager(QueryStat queryStat) |
Modifier and Type | Method and Description |
---|---|
void |
clearPopularQueriesQueue()
clears the Popular queue
|
void |
clearSlowQueriesQueue()
clears the Slow queue
|
void |
disable() |
void |
enable() |
javax.management.openmbean.TabularData |
getPopularQueries() |
int |
getPopularQueriesQueueSize() |
javax.management.openmbean.TabularData |
getSlowQueries() |
int |
getSlowQueriesQueueSize() |
boolean |
isEnabled() |
void |
reset() |
void |
setPopularQueriesQueueSize(int size)
Change the size of the Popular queue
|
void |
setSlowQueriesQueueSize(int size)
Change the size of the Slow queue
|
public QueryStatManager(QueryStat queryStat)
public boolean isEnabled()
public void enable()
public void disable()
public void reset()
public int getSlowQueriesQueueSize()
getSlowQueriesQueueSize
in interface QueryStatManagerMBean
public void setSlowQueriesQueueSize(int size)
QueryStatManagerMBean
setSlowQueriesQueueSize
in interface QueryStatManagerMBean
size
- the new sizepublic void clearSlowQueriesQueue()
QueryStatManagerMBean
clearSlowQueriesQueue
in interface QueryStatManagerMBean
public int getPopularQueriesQueueSize()
getPopularQueriesQueueSize
in interface QueryStatManagerMBean
public void setPopularQueriesQueueSize(int size)
QueryStatManagerMBean
setPopularQueriesQueueSize
in interface QueryStatManagerMBean
size
- the new sizepublic void clearPopularQueriesQueue()
QueryStatManagerMBean
clearPopularQueriesQueue
in interface QueryStatManagerMBean
public javax.management.openmbean.TabularData getSlowQueries()
getSlowQueries
in interface QueryStatManagerMBean
QueryStatManagerMBean.getSlowQueriesQueueSize()
slowest queriespublic javax.management.openmbean.TabularData getPopularQueries()
getPopularQueries
in interface QueryStatManagerMBean
QueryStatManagerMBean.getPopularQueriesQueueSize()
most popular queriesCopyright © 2010 - 2020 Adobe. All Rights Reserved