|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface History
An immutable history of a metric for a given window in time.
| Field Summary | |
|---|---|
static History |
NO_HISTORY
A history with no statistics, no window, no start or end time, and no duration. |
| 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. |
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. |
| Field Detail |
|---|
static final History NO_HISTORY
| Method Detail |
|---|
Window getWindow()
long getTotalDuration(TimeUnit unit)
unit - the desired time unit; if null, then TimeUnit.SECONDS is used
DateTime getStartTime()
DateTime getEndTime()
Statistics[] getStats()
|
ModeShape Distribution 3.5.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||