|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Window>
org.modeshape.jcr.api.monitor.Window
public enum Window
The specification of the window for obtaining the history and statistics for a given metric.
Enum Constant Summary | |
---|---|
PREVIOUS_24_HOURS
The window for accessing a metric's history and statistics for each hour during the last day (24 hours). |
|
PREVIOUS_52_WEEKS
The window for accessing a metric's history and statistics for each week during the last year (52 weeks). |
|
PREVIOUS_60_MINUTES
The window for accessing a metric's history and statistics for each minute during the last hour (60 minutes). |
|
PREVIOUS_60_SECONDS
The window for accessing a metric's history and statistics for ten 5-second intervals during the last minute (60 seconds). |
|
PREVIOUS_7_DAYS
The window for accessing a metric's history and statistics for each day during the last week (7 days). |
Method Summary | |
---|---|
static Window |
fromLiteral(String literal)
Get the Window that has the supplied literal. |
String |
getLiteral()
The literal string form of the window. |
static Window |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Window[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Window PREVIOUS_60_SECONDS
public static final Window PREVIOUS_60_MINUTES
public static final Window PREVIOUS_24_HOURS
public static final Window PREVIOUS_7_DAYS
public static final Window PREVIOUS_52_WEEKS
Method Detail |
---|
public static Window[] values()
for (Window c : Window.values()) System.out.println(c);
public static Window valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getLiteral()
public static Window fromLiteral(String literal)
Window
that has the supplied literal.
literal
- the literal (can be of any case); may not be null
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |