public enum CachePolicy extends Enum<CachePolicy>
MetaParams| Enum Constant and Description |
|---|
NO_CACHE
No cache is enabled
|
PROTECTED_CACHE
Overload protection cache based on WeakHasMap for relations many-to-one.
|
SOLID_CACHE
Solid change based on HashMap for relations many-to-one only.
|
| Modifier and Type | Method and Description |
|---|---|
static CachePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CachePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CachePolicy PROTECTED_CACHE
public static final CachePolicy SOLID_CACHE
public static final CachePolicy NO_CACHE
public static CachePolicy[] values()
for (CachePolicy c : CachePolicy.values()) System.out.println(c);
public static CachePolicy 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 2013, Pavel Ponec