Package com.avoka.tm.util
Enum MemCache.MemCacheExpiryPolicy
- java.lang.Object
-
- java.lang.Enum<MemCache.MemCacheExpiryPolicy>
-
- com.avoka.tm.util.MemCache.MemCacheExpiryPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<MemCache.MemCacheExpiryPolicy>
- Enclosing class:
- MemCache
public static enum MemCache.MemCacheExpiryPolicy extends Enum<MemCache.MemCacheExpiryPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_ACCESS
AFTER_WRITE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MemCache.MemCacheExpiryPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static MemCache.MemCacheExpiryPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AFTER_ACCESS
public static final MemCache.MemCacheExpiryPolicy AFTER_ACCESS
-
AFTER_WRITE
public static final MemCache.MemCacheExpiryPolicy AFTER_WRITE
-
-
Method Detail
-
values
public static MemCache.MemCacheExpiryPolicy[] 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 (MemCache.MemCacheExpiryPolicy c : MemCache.MemCacheExpiryPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MemCache.MemCacheExpiryPolicy 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
-
-