ehcache

net.sf.ehcache.store
Enum MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum

java.lang.Object
  extended by java.lang.Enum<MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum>
      extended by net.sf.ehcache.store.MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum
All Implemented Interfaces:
Serializable, Comparable<MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum>
Enclosing class:
MemoryStoreEvictionPolicy

public static enum MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum
extends Enum<MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum>

Enum for MemoryStoreEvictionPolicy


Enum Constant Summary
FIFO
          Value for MemoryStoreEvictionPolicy.FIFO
LFU
          Value for MemoryStoreEvictionPolicy.LFU
LRU
          Value for MemoryStoreEvictionPolicy.LRU
 
Method Summary
static MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum[] 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

LFU

public static final MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum LFU
Value for MemoryStoreEvictionPolicy.LFU


LRU

public static final MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum LRU
Value for MemoryStoreEvictionPolicy.LRU


FIFO

public static final MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum FIFO
Value for MemoryStoreEvictionPolicy.FIFO

Method Detail

values

public static MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum[] 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 (MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum c : MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MemoryStoreEvictionPolicy.MemoryStoreEvictionPolicyEnum 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.