Package net.jextra.fauxjo
Enum StatementCacheListener.EvictType
- java.lang.Object
-
- java.lang.Enum<StatementCacheListener.EvictType>
-
- net.jextra.fauxjo.StatementCacheListener.EvictType
-
- All Implemented Interfaces:
Serializable,Comparable<StatementCacheListener.EvictType>
- Enclosing interface:
- StatementCacheListener
public static enum StatementCacheListener.EvictType extends Enum<StatementCacheListener.EvictType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MaxEntriesMaxTtl
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatementCacheListener.EvictTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StatementCacheListener.EvictType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MaxTtl
public static final StatementCacheListener.EvictType MaxTtl
-
MaxEntries
public static final StatementCacheListener.EvictType MaxEntries
-
-
Method Detail
-
values
public static StatementCacheListener.EvictType[] 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 (StatementCacheListener.EvictType c : StatementCacheListener.EvictType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatementCacheListener.EvictType 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
-
-