ehcache

net.sf.ehcache.config
Enum PinningConfiguration.Store

java.lang.Object
  extended by java.lang.Enum<PinningConfiguration.Store>
      extended by net.sf.ehcache.config.PinningConfiguration.Store
All Implemented Interfaces:
Serializable, Comparable<PinningConfiguration.Store>
Enclosing class:
PinningConfiguration

public static enum PinningConfiguration.Store
extends Enum<PinningConfiguration.Store>

Possible store values


Enum Constant Summary
INCACHE
          Pin the elements in the cache
LOCALMEMORY
          Pin the elements in the local VM memory
 
Method Summary
static PinningConfiguration.Store valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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 name
NullPointerException - if the argument is null

ehcache

Copyright 2001-2014, Terracotta, Inc.