@MXBean @Details(value="JMX MXBean which exposes various repository metrics") public interface RepositoryStatisticsMXBean
RepositoryMonitor
instance.@Details(value="A list of enums which represent the available value metrics that should be used as parameters for the getValues operation") List<EnumDescription> getValueMetrics()
ValueMetric
enumerations that are available for use by the caller with
getValues(org.modeshape.jcr.api.monitor.ValueMetric, org.modeshape.jcr.api.monitor.Window)
.RepositoryMonitor.getAvailableValueMetrics()
@Details(value="A list of enums which represent the available duration metrics that should be used as parameters for the getDurations and getLongestRunning operations") List<EnumDescription> getDurationMetrics()
DurationMetric
enumerations that are available for use by the caller with
getDurations(org.modeshape.jcr.api.monitor.DurationMetric, org.modeshape.jcr.api.monitor.Window)
.RepositoryMonitor.getAvailableDurationMetrics()
@Details(value="A list of enums which represent the available time intervals that should be used as operation parameters") List<EnumDescription> getTimeWindows()
Window
enumerations that are available for use by the caller with
getValues(org.modeshape.jcr.api.monitor.ValueMetric, org.modeshape.jcr.api.monitor.Window)
and
getDurations(org.modeshape.jcr.api.monitor.DurationMetric, org.modeshape.jcr.api.monitor.Window)
.RepositoryMonitor.getAvailableWindows()
@Details(value="Returns the values of a certain type in a given period of time") HistoricalData getValues(@Details(value="The value metric enum name (see the ValueMetrics)") ValueMetric metric, @Details(value="The time window enum name (see the TimeWindows)") Window windowInTime) throws MBeanException
metric
- the value metric; may not be nullwindowInTime
- the window specifying which statistics are to be returned; may not be nullMBeanException
- if anything unexpected fails while performing the operation.RepositoryMonitor.getHistory(org.modeshape.jcr.api.monitor.ValueMetric, org.modeshape.jcr.api.monitor.Window)
@Details(value="Returns the values for a duration type in a period of time") HistoricalData getDurations(@Details(value="The duration metric enum name (see the DurationMetrics)") DurationMetric metric, @Details(value="The time window enum name (see the TimeWindows)") Window windowInTime) throws MBeanException
metric
- the duration metric; may not be nullwindowInTime
- the window specifying which statistics are to be returned; may not be nullMBeanException
- if anything unexpected fails while performing the operation.RepositoryMonitor.getHistory(org.modeshape.jcr.api.monitor.DurationMetric, org.modeshape.jcr.api.monitor.Window)
@Details(value="Returns the longest running time of a duration type (e.g. longest running session)") List<DurationData> getLongestRunning(@Details(value="The duration metric enum name (see the DurationMetrics)") DurationMetric metric) throws MBeanException
metric
- the duration metric; may not be nullMBeanException
- if anything unexpected fails while performing the operation.RepositoryMonitor.getLongestRunning(org.modeshape.jcr.api.monitor.DurationMetric)
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.