public static enum OptimisticLockingPolicy.LockOnChange extends java.lang.Enum<OptimisticLockingPolicy.LockOnChange>
Purpose: Provides the configuration options to force an Optimistic Write Lock When a set of mappings have changes. This enum defines what mappings are within that set.
Modifier and Type | Method and Description |
---|---|
static OptimisticLockingPolicy.LockOnChange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptimisticLockingPolicy.LockOnChange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptimisticLockingPolicy.LockOnChange OWNING
public static final OptimisticLockingPolicy.LockOnChange NONE
public static final OptimisticLockingPolicy.LockOnChange ALL
public static OptimisticLockingPolicy.LockOnChange[] values()
for (OptimisticLockingPolicy.LockOnChange c : OptimisticLockingPolicy.LockOnChange.values()) System.out.println(c);
public static OptimisticLockingPolicy.LockOnChange valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference