## Uses of Class
org.modeshape.jcr.api.monitor.DurationMetric

- Packages that use DurationMetric
  Package | Description
  --- | ---
  org.modeshape.jcr |
  org.modeshape.jcr.api.monitor | This package provides a set of interfaces and enumerations used for monitoring ModeShape repositories.
  org.modeshape.jmx |

- - ### Uses of DurationMetric in org.modeshape.jcr

    Methods in org.modeshape.jcr that return types with arguments of type DurationMetric
    Modifier and Type | Method and Description
    --- | ---
    `Set<DurationMetric>` | RepositoryStatistics.`getAvailableDurationMetrics()`
    `Set<DurationMetric>` | JcrRepositoryMonitor.`getAvailableDurationMetrics()`

    Methods in org.modeshape.jcr with parameters of type DurationMetric
    Modifier and Type | Method and Description
    --- | ---
    `History` | RepositoryStatistics.`getHistory(DurationMetric metric, Window windowInTime)`
    `History` | JcrRepositoryMonitor.`getHistory(DurationMetric metric, Window windowInTime)`
    `DurationActivity[]` | RepositoryStatistics.`getLongestRunning(DurationMetric metric)`
    `DurationActivity[]` | JcrRepositoryMonitor.`getLongestRunning(DurationMetric metric)`

  - ### Uses of DurationMetric in org.modeshape.jcr.api.monitor

    Fields in org.modeshape.jcr.api.monitor with type parameters of type DurationMetric
    Modifier and Type | Field and Description
    --- | ---
    `static Set<DurationMetric>` | RepositoryMonitor.`ALL_DURATION_METRICS`

    Methods in org.modeshape.jcr.api.monitor that return DurationMetric
    Modifier and Type | Method and Description
    --- | ---
    `static DurationMetric` | DurationMetric.`fromLiteral(String literal)` Get the `DurationMetric` that has the supplied literal.
    `static DurationMetric` | DurationMetric.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static DurationMetric[]` | DurationMetric.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.modeshape.jcr.api.monitor that return types with arguments of type DurationMetric
    Modifier and Type | Method and Description
    --- | ---
    `Set<DurationMetric>` | RepositoryMonitor.`getAvailableDurationMetrics()` Get the DurationMetric enumerations that are available for use by the caller with `RepositoryMonitor.getHistory(DurationMetric, Window)`.

    Methods in org.modeshape.jcr.api.monitor with parameters of type DurationMetric
    Modifier and Type | Method and Description
    --- | ---
    `History` | RepositoryMonitor.`getHistory(DurationMetric metric, Window windowInTime)` Get the statics for the specified duration metric during the given window in time.
    `DurationActivity[]` | RepositoryMonitor.`getLongestRunning(DurationMetric metric)` Get the longest-running activities recorded for the specified metric.

  - ### Uses of DurationMetric in org.modeshape.jmx

    Methods in org.modeshape.jmx with parameters of type DurationMetric
    Modifier and Type | Method and Description
    --- | ---
    `HistoricalData` | RepositoryStatisticsMXBean.`getDurations(DurationMetric metric, Window windowInTime)` Get the statics for the specified duration metric during the given window in time.
    `HistoricalData` | RepositoryStatisticsBean.`getDurations(DurationMetric metric, Window windowInTime)`
    `List<DurationData>` | RepositoryStatisticsMXBean.`getLongestRunning(DurationMetric metric)` Get the longest-running activities recorded for the specified metric.
    `List<DurationData>` | RepositoryStatisticsBean.`getLongestRunning(DurationMetric metric)`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.