public interface History
Modifier and Type | Field and Description |
---|---|
static History |
NO_HISTORY
A history with no statistics, no window, no start or end time, and no duration.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static final History NO_HISTORY
Window getWindow()
long getTotalDuration(TimeUnit unit)
unit
- the desired time unit; if null, then TimeUnit.SECONDS
is usedDateTime getStartTime()
DateTime getEndTime()
Statistics[] getStats()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.