| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Configuration.NodeLockingScheme>
org.jboss.cache.config.Configuration.NodeLockingScheme
public static enum Configuration.NodeLockingScheme
Cache node locking scheme.
| Enum Constant Summary | |
|---|---|
| MVCCData is locked using the MVCC locking scheme. | |
| OPTIMISTICData is unlocked during modification, modifications merged at commit. | |
| PESSIMISTICData is exclusively locked during modification. | |
| Method Summary | |
|---|---|
|  boolean | isVersionedScheme() | 
| static Configuration.NodeLockingScheme | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Configuration.NodeLockingScheme[] | values()Returns an array containing the constants of this enum type, in the order they're declared. | 
| Methods inherited from class java.lang.Enum | 
|---|
| clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
| finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final Configuration.NodeLockingScheme MVCC
public static final Configuration.NodeLockingScheme PESSIMISTIC
public static final Configuration.NodeLockingScheme OPTIMISTIC
| Method Detail | 
|---|
public static final Configuration.NodeLockingScheme[] values()
for(Configuration.NodeLockingScheme c : Configuration.NodeLockingScheme.values())
        System.out.println(c);
public static Configuration.NodeLockingScheme valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic boolean isVersionedScheme()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||