Package net.sf.ehcache.config
Enum PinningConfiguration.Store
- java.lang.Object
-
- java.lang.Enum<PinningConfiguration.Store>
-
- net.sf.ehcache.config.PinningConfiguration.Store
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PinningConfiguration.Store>
- Enclosing class:
- PinningConfiguration
public static enum PinningConfiguration.Store extends java.lang.Enum<PinningConfiguration.Store>
Possible store values
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCACHEPin the elements in the cacheLOCALMEMORYPin the elements in the local VM memory
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PinningConfiguration.StorevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PinningConfiguration.Store[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCALMEMORY
public static final PinningConfiguration.Store LOCALMEMORY
Pin the elements in the local VM memory
-
INCACHE
public static final PinningConfiguration.Store INCACHE
Pin the elements in the cache
-
-
Method Detail
-
values
public static PinningConfiguration.Store[] 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 (PinningConfiguration.Store c : PinningConfiguration.Store.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PinningConfiguration.Store valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-