|
ModeShape Distribution 3.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jcr.RepositoryStatistics.History
@Immutable public static final class RepositoryStatistics.History
A history of a metric for a given window in time.
RepositoryStatistics.getHistory(DurationMetric, Window),
RepositoryStatistics.getHistory(ValueMetric, Window)| Constructor Summary | |
|---|---|
protected |
RepositoryStatistics.History(RepositoryStatistics.Statistics[] stats,
DateTime endTime,
Window window)
|
| Method Summary | |
|---|---|
DateTime |
getEndTime()
Get the timestamp (including time zone information) at which this history window ends. |
DateTime |
getStartTime()
Get the timestamp (including time zone information) at which this history window starts. |
RepositoryStatistics.Statistics[] |
getStats()
Get the statistics for that make up the history. |
long |
getTotalDuration(TimeUnit unit)
Get the total duration of this history window. |
Window |
getWindow()
Get the kind of window. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected RepositoryStatistics.History(RepositoryStatistics.Statistics[] stats,
DateTime endTime,
Window window)
| Method Detail |
|---|
public Window getWindow()
History
getWindow in interface Historypublic long getTotalDuration(TimeUnit unit)
History
getTotalDuration in interface Historyunit - the desired time unit; if null, then TimeUnit.SECONDS is used
public DateTime getStartTime()
History
getStartTime in interface Historypublic DateTime getEndTime()
History
getEndTime in interface Historypublic RepositoryStatistics.Statistics[] getStats()
History
getStats in interface Historypublic String toString()
toString in class Object
|
ModeShape Distribution 3.0.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||