|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryMonitor
A thread-safe component that provides histories and statistics on a variety of metrics.
Method Summary | |
---|---|
Set<DurationMetric> |
getAvailableDurationMetrics()
Get the DurationMetric enumerations that are available for use by the caller with getHistory(DurationMetric, Window) . |
Set<ValueMetric> |
getAvailableValueMetrics()
Get the ValueMetric enumerations that are available for use by the caller with getHistory(ValueMetric, Window) . |
Set<Window> |
getAvailableWindows()
Get the Window enumerations that are available for use by the caller with getHistory(DurationMetric, Window) and
getHistory(ValueMetric, Window) . |
History |
getHistory(DurationMetric metric,
Window windowInTime)
Get the statics for the specified duration metric during the given window in time. |
History |
getHistory(ValueMetric metric,
Window windowInTime)
Get the statics for the specified value metric during the given window in time. |
DurationActivity[] |
getLongestRunning(DurationMetric metric)
Get the longest-running activities recorded for the specified metric. |
Method Detail |
---|
Set<ValueMetric> getAvailableValueMetrics()
getHistory(ValueMetric, Window)
.
getHistory(ValueMetric, Window)
Set<DurationMetric> getAvailableDurationMetrics()
getHistory(DurationMetric, Window)
.
getHistory(DurationMetric, Window)
,
getLongestRunning(DurationMetric)
Set<Window> getAvailableWindows()
getHistory(DurationMetric, Window)
and
getHistory(ValueMetric, Window)
.
getHistory(DurationMetric, Window)
,
getHistory(ValueMetric, Window)
History getHistory(ValueMetric metric, Window windowInTime) throws AccessDeniedException, RepositoryException
metric
- the value metric; may not be nullwindowInTime
- the window specifying which statistics are to be returned; may not be null
AccessDeniedException
- if the session does not have privileges to monitor the repository
RepositoryException
- if there is an error obtaining the historygetAvailableValueMetrics()
,
getAvailableWindows()
History getHistory(DurationMetric metric, Window windowInTime) throws AccessDeniedException, RepositoryException
metric
- the duration metric; may not be nullwindowInTime
- the window specifying which statistics are to be returned; may not be null
AccessDeniedException
- if the session does not have privileges to monitor the repository
RepositoryException
- if there is an error obtaining the historygetAvailableDurationMetrics()
,
getAvailableWindows()
DurationActivity[] getLongestRunning(DurationMetric metric) throws AccessDeniedException, RepositoryException
metric
- the duration metric; may not be null
AccessDeniedException
- if the session does not have privileges to monitor the repository
RepositoryException
- if there is an error obtaining the historygetAvailableDurationMetrics()
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |