|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jmx.RepositoryStatisticsBean
public class RepositoryStatisticsBean
MXBean implementation of RepositoryStatisticsMXBean
.
Constructor Summary | |
---|---|
RepositoryStatisticsBean(RepositoryMonitor monitor,
String repositoryName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryStatisticsBean(RepositoryMonitor monitor, String repositoryName)
monitor
- an active RepositoryMonitor
instance which will be used for getting repository statisticsrepositoryName
- a non-null String, the name of the repository.Method Detail |
---|
public void start()
public void stop()
public List<EnumDescription> getValueMetrics()
RepositoryStatisticsMXBean
ValueMetric
enumerations that are available for use by the caller with
RepositoryStatisticsMXBean.getValues(org.modeshape.jcr.api.monitor.ValueMetric, org.modeshape.jcr.api.monitor.Window)
.
getValueMetrics
in interface RepositoryStatisticsMXBean
RepositoryMonitor.getAvailableValueMetrics()
public List<EnumDescription> getDurationMetrics()
RepositoryStatisticsMXBean
DurationMetric
enumerations that are available for use by the caller with
RepositoryStatisticsMXBean.getDurations(org.modeshape.jcr.api.monitor.DurationMetric, org.modeshape.jcr.api.monitor.Window)
.
getDurationMetrics
in interface RepositoryStatisticsMXBean
RepositoryMonitor.getAvailableDurationMetrics()
public List<EnumDescription> getTimeWindows()
RepositoryStatisticsMXBean
Window
enumerations that are available for use by the caller with
RepositoryStatisticsMXBean.getValues(org.modeshape.jcr.api.monitor.ValueMetric, org.modeshape.jcr.api.monitor.Window)
and
RepositoryStatisticsMXBean.getDurations(org.modeshape.jcr.api.monitor.DurationMetric, org.modeshape.jcr.api.monitor.Window)
.
getTimeWindows
in interface RepositoryStatisticsMXBean
RepositoryMonitor.getAvailableWindows()
public HistoricalData getValues(ValueMetric metric, Window windowInTime) throws MBeanException
RepositoryStatisticsMXBean
getValues
in interface RepositoryStatisticsMXBean
metric
- the value metric; may not be nullwindowInTime
- the window specifying which statistics are to be returned; may not be null
MBeanException
- if anything unexpected fails while performing the operation.RepositoryMonitor.getHistory(org.modeshape.jcr.api.monitor.ValueMetric, org.modeshape.jcr.api.monitor.Window)
public HistoricalData getDurations(DurationMetric metric, Window windowInTime) throws MBeanException
RepositoryStatisticsMXBean
getDurations
in interface RepositoryStatisticsMXBean
metric
- the duration metric; may not be nullwindowInTime
- the window specifying which statistics are to be returned; may not be null
MBeanException
- if anything unexpected fails while performing the operation.RepositoryMonitor.getHistory(org.modeshape.jcr.api.monitor.DurationMetric, org.modeshape.jcr.api.monitor.Window)
public List<DurationData> getLongestRunning(DurationMetric metric) throws MBeanException
RepositoryStatisticsMXBean
getLongestRunning
in interface RepositoryStatisticsMXBean
metric
- the duration metric; may not be null
MBeanException
- if anything unexpected fails while performing the operation.RepositoryMonitor.getLongestRunning(org.modeshape.jcr.api.monitor.DurationMetric)
|
ModeShape Distribution 3.5.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |