public enum DiskCacheStrategyEnum extends java.lang.Enum<DiskCacheStrategyEnum>
| Enum Constant and Description |
|---|
ALL
|
AUTOMATIC
Tries to intelligently choose a strategy
|
DATA
Writes retrieved data directly to the disk cache before it's decoded.
|
NONE
Saves no data to cache.
|
RESOURCE
Writes resources to disk after they've been decoded.
|
| Modifier and Type | Method and Description |
|---|---|
static DiskCacheStrategyEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiskCacheStrategyEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskCacheStrategyEnum ALL
public static final DiskCacheStrategyEnum NONE
public static final DiskCacheStrategyEnum DATA
public static final DiskCacheStrategyEnum RESOURCE
public static final DiskCacheStrategyEnum AUTOMATIC
public static DiskCacheStrategyEnum[] values()
for (DiskCacheStrategyEnum c : DiskCacheStrategyEnum.values()) System.out.println(c);
public static DiskCacheStrategyEnum 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