public static enum HistoryService.LookupSpeed extends java.lang.Enum<HistoryService.LookupSpeed>
Enum Constant and Description |
---|
FAST
Represents services that are almost entirely contained within memory, and have a fast lookup speed.
|
FASTEST
Represents services that are contained in memory and have a constant lookup speed (like hash tables or Bloom filters).
|
NORMAL
Represents services that are mostly contained in memory, but may require I/O and slow down in certain circumstances.
|
SLOW
Represents services that store their data externally, such as a flat file or database.
|
VERY_FAST
Represents services that are entirely contained in memory, and have a lookup speed proportional to their storage size.
|
Modifier and Type | Method and Description |
---|---|
static HistoryService.LookupSpeed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HistoryService.LookupSpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoryService.LookupSpeed FASTEST
public static final HistoryService.LookupSpeed VERY_FAST
public static final HistoryService.LookupSpeed FAST
public static final HistoryService.LookupSpeed NORMAL
public static final HistoryService.LookupSpeed SLOW
public static HistoryService.LookupSpeed[] values()
for (HistoryService.LookupSpeed c : HistoryService.LookupSpeed.values()) System.out.println(c);
public static HistoryService.LookupSpeed valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null