public static enum FileCache.CacheType extends Enum<FileCache.CacheType>
Modifier and Type | Method and Description |
---|---|
static FileCache.CacheType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileCache.CacheType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileCache.CacheType HEAP
public static final FileCache.CacheType MAPPED
public static final FileCache.CacheType FILE
public static final FileCache.CacheType TIMESTAMP
public static FileCache.CacheType[] values()
for (FileCache.CacheType c : FileCache.CacheType.values()) System.out.println(c);
public static FileCache.CacheType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 Oracle Corporation. All rights reserved.