Enum Cache.SyncCacheStrategy
- java.lang.Object
-
- java.lang.Enum<Cache.SyncCacheStrategy>
-
- de.caluga.morphium.annotations.caching.Cache.SyncCacheStrategy
-
- All Implemented Interfaces:
Serializable,Comparable<Cache.SyncCacheStrategy>
- Enclosing class:
- Cache
public static enum Cache.SyncCacheStrategy extends Enum<Cache.SyncCacheStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLEAR_TYPE_CACHENONEREMOVE_ENTRY_FROM_TYPE_CACHEUPDATE_ENTRY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Cache.SyncCacheStrategyvalueOf(String name)Returns the enum constant of this type with the specified name.static Cache.SyncCacheStrategy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Cache.SyncCacheStrategy NONE
-
CLEAR_TYPE_CACHE
public static final Cache.SyncCacheStrategy CLEAR_TYPE_CACHE
-
REMOVE_ENTRY_FROM_TYPE_CACHE
public static final Cache.SyncCacheStrategy REMOVE_ENTRY_FROM_TYPE_CACHE
-
UPDATE_ENTRY
public static final Cache.SyncCacheStrategy UPDATE_ENTRY
-
-
Method Detail
-
values
public static Cache.SyncCacheStrategy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Cache.SyncCacheStrategy c : Cache.SyncCacheStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cache.SyncCacheStrategy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-