public static enum FileCache.QueryEvent extends java.lang.Enum<FileCache.QueryEvent>
| Enum Constant and Description |
|---|
CORRUPTED
The cache entry exists and is corrupted.
|
HIT
The cache entry exists and is not corrupted.
|
MISSED
The cache entry does not exist.
|
| Modifier and Type | Method and Description |
|---|---|
static FileCache.QueryEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileCache.QueryEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileCache.QueryEvent HIT
public static final FileCache.QueryEvent MISSED
public static final FileCache.QueryEvent CORRUPTED
public static FileCache.QueryEvent[] values()
for (FileCache.QueryEvent c : FileCache.QueryEvent.values()) System.out.println(c);
public static FileCache.QueryEvent 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