public static enum LoaderConfiguration.CacheStrategyType extends Enum<LoaderConfiguration.CacheStrategyType>
| Enum Constant and Description |
|---|
CACHE
On completion the invocation results are retained.
|
CACHE_IF_ERROR
Only in case of successful completion the results are cleared, otherwise they are
retained.
|
CACHE_IF_SUCCESS
Only in case of error the results are cleared, otherwise they are retained.
|
CLEAR
On completion the invocation results are cleared.
|
| Modifier and Type | Method and Description |
|---|---|
static LoaderConfiguration.CacheStrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoaderConfiguration.CacheStrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoaderConfiguration.CacheStrategyType CLEAR
public static final LoaderConfiguration.CacheStrategyType CACHE_IF_SUCCESS
public static final LoaderConfiguration.CacheStrategyType CACHE_IF_ERROR
public static final LoaderConfiguration.CacheStrategyType CACHE
public static LoaderConfiguration.CacheStrategyType[] values()
for (LoaderConfiguration.CacheStrategyType c : LoaderConfiguration.CacheStrategyType.values()) System.out.println(c);
public static LoaderConfiguration.CacheStrategyType 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 null