Package org.apache.jackrabbit.stats.jmx
Class QueryStatManager
- java.lang.Object
-
- org.apache.jackrabbit.stats.jmx.QueryStatManager
-
- All Implemented Interfaces:
QueryStatManagerMBean
public class QueryStatManager extends Object implements QueryStatManagerMBean
The QueryStatManagerMBean default implementation
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
NAME
-
-
Constructor Summary
Constructors Constructor Description QueryStatManager(QueryStat queryStat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearPopularQueriesQueue()
void
clearSlowQueriesQueue()
void
disable()
void
enable()
TabularData
getPopularQueries()
int
getPopularQueriesQueueSize()
TabularData
getSlowQueries()
int
getSlowQueriesQueueSize()
boolean
isEnabled()
void
reset()
void
setPopularQueriesQueueSize(int size)
void
setSlowQueriesQueueSize(int size)
-
-
-
Constructor Detail
-
QueryStatManager
public QueryStatManager(QueryStat queryStat)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
enable
public void enable()
-
disable
public void disable()
-
reset
public void reset()
-
getSlowQueriesQueueSize
public int getSlowQueriesQueueSize()
- Specified by:
getSlowQueriesQueueSize
in interfaceQueryStatManagerMBean
-
setSlowQueriesQueueSize
public void setSlowQueriesQueueSize(int size)
- Specified by:
setSlowQueriesQueueSize
in interfaceQueryStatManagerMBean
-
clearSlowQueriesQueue
public void clearSlowQueriesQueue()
- Specified by:
clearSlowQueriesQueue
in interfaceQueryStatManagerMBean
-
getPopularQueriesQueueSize
public int getPopularQueriesQueueSize()
- Specified by:
getPopularQueriesQueueSize
in interfaceQueryStatManagerMBean
-
setPopularQueriesQueueSize
public void setPopularQueriesQueueSize(int size)
- Specified by:
setPopularQueriesQueueSize
in interfaceQueryStatManagerMBean
-
clearPopularQueriesQueue
public void clearPopularQueriesQueue()
- Specified by:
clearPopularQueriesQueue
in interfaceQueryStatManagerMBean
-
getSlowQueries
public TabularData getSlowQueries()
- Specified by:
getSlowQueries
in interfaceQueryStatManagerMBean
-
getPopularQueries
public TabularData getPopularQueries()
- Specified by:
getPopularQueries
in interfaceQueryStatManagerMBean
-
-