Package org.apache.jackrabbit.api.jmx
Interface QueryStatManagerMBean
-
- All Known Implementing Classes:
QueryStatManager
public interface QueryStatManagerMBean
JMX Bindings forQueryStat
.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearPopularQueriesQueue()
clears the Popular queuevoid
clearSlowQueriesQueue()
clears the Slow queuejavax.management.openmbean.TabularData
getPopularQueries()
int
getPopularQueriesQueueSize()
javax.management.openmbean.TabularData
getSlowQueries()
int
getSlowQueriesQueueSize()
void
setPopularQueriesQueueSize(int size)
Change the size of the Popular queuevoid
setSlowQueriesQueueSize(int size)
Change the size of the Slow queue
-
-
-
Field Detail
-
NAME
static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSlowQueries
javax.management.openmbean.TabularData getSlowQueries()
- Returns:
- a sorted array containing the top
getSlowQueriesQueueSize()
slowest queries
-
getPopularQueries
javax.management.openmbean.TabularData getPopularQueries()
- Returns:
- a sorted array containing the
getPopularQueriesQueueSize()
most popular queries
-
getSlowQueriesQueueSize
int getSlowQueriesQueueSize()
- Returns:
- size of the Slow queue
-
setSlowQueriesQueueSize
void setSlowQueriesQueueSize(int size)
Change the size of the Slow queue- Parameters:
size
- the new size
-
clearSlowQueriesQueue
void clearSlowQueriesQueue()
clears the Slow queue
-
getPopularQueriesQueueSize
int getPopularQueriesQueueSize()
- Returns:
- size of the Popular queue
-
setPopularQueriesQueueSize
void setPopularQueriesQueueSize(int size)
Change the size of the Popular queue- Parameters:
size
- the new size
-
clearPopularQueriesQueue
void clearPopularQueriesQueue()
clears the Popular queue
-
-