|
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()
RepositoryStatisticsMXBeanValueMetric 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 RepositoryStatisticsMXBeanRepositoryMonitor.getAvailableValueMetrics()public List<EnumDescription> getDurationMetrics()
RepositoryStatisticsMXBeanDurationMetric 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 RepositoryStatisticsMXBeanRepositoryMonitor.getAvailableDurationMetrics()public List<EnumDescription> getTimeWindows()
RepositoryStatisticsMXBeanWindow 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 RepositoryStatisticsMXBeanRepositoryMonitor.getAvailableWindows()
public HistoricalData getValues(ValueMetric metric,
Window windowInTime)
throws MBeanException
RepositoryStatisticsMXBean
getValues in interface RepositoryStatisticsMXBeanmetric - 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 RepositoryStatisticsMXBeanmetric - 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 RepositoryStatisticsMXBeanmetric - 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 | |||||||||