public static enum Configuration.NodeLockingScheme extends Enum<Configuration.NodeLockingScheme>
Enum Constant and Description |
---|
MVCC
Data is locked using the MVCC locking scheme.
|
OPTIMISTIC
Data is unlocked during modification, modifications merged at commit.
|
PESSIMISTIC
Data is exclusively locked during modification.
|
Modifier and Type | Method and Description |
---|---|
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 are declared.
|
public static final Configuration.NodeLockingScheme MVCC
public static final Configuration.NodeLockingScheme PESSIMISTIC
public static final Configuration.NodeLockingScheme OPTIMISTIC
public static 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 nameNullPointerException
- if the argument is nullpublic boolean isVersionedScheme()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.