public class QueryStatManager extends Object implements org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
Constructor and Description |
---|
QueryStatManager(org.apache.jackrabbit.api.stats.QueryStat queryStat) |
Modifier and Type | Method and 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) |
public QueryStatManager(org.apache.jackrabbit.api.stats.QueryStat queryStat)
public boolean isEnabled()
public void enable()
public void disable()
public void reset()
public int getSlowQueriesQueueSize()
getSlowQueriesQueueSize
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
public void setSlowQueriesQueueSize(int size)
setSlowQueriesQueueSize
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
public void clearSlowQueriesQueue()
clearSlowQueriesQueue
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
public int getPopularQueriesQueueSize()
getPopularQueriesQueueSize
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
public void setPopularQueriesQueueSize(int size)
setPopularQueriesQueueSize
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
public void clearPopularQueriesQueue()
clearPopularQueriesQueue
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
public TabularData getSlowQueries()
getSlowQueries
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
public TabularData getPopularQueries()
getPopularQueries
in interface org.apache.jackrabbit.api.jmx.QueryStatManagerMBean
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.