| 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CacheWriterConfiguration.WriteMode>
net.sf.ehcache.config.CacheWriterConfiguration.WriteMode
public static enum CacheWriterConfiguration.WriteMode
Represents how elements are written to the CacheWriter
| Enum Constant Summary | |
|---|---|
WRITE_BEHIND
Write mode enum constant that can be used to configure a cache writer to use write behind  | 
|
WRITE_THROUGH
Write mode enum constant that can be used to configure a cache writer to use write through  | 
|
| Method Summary | |
|---|---|
abstract  CacheWriterManager | 
createWriterManager(Cache cache,
                    Store store)
Create a new WriterManager for a particular cache instance | 
static CacheWriterConfiguration.WriteMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name.  | 
static CacheWriterConfiguration.WriteMode[] | 
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 | 
|---|
public static final CacheWriterConfiguration.WriteMode WRITE_THROUGH
public static final CacheWriterConfiguration.WriteMode WRITE_BEHIND
| Method Detail | 
|---|
public static CacheWriterConfiguration.WriteMode[] values()
for (CacheWriterConfiguration.WriteMode c : CacheWriterConfiguration.WriteMode.values()) System.out.println(c);
public static CacheWriterConfiguration.WriteMode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public abstract CacheWriterManager createWriterManager(Cache cache,
                                                       Store store)
WriterManager for a particular cache instance
cache - the cache instance for which the WriterManager should be created
WriterManager
  | 
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||