|Enum Constant and Description|
For read-only operations.
For exclusive access to the bean instance.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final LockType READ
READ, as long as no
WRITElock is held.
public static final LockType WRITE
WRITElock can only be acquired when no other method with either a
WRITElock is currently held.
public static LockType values()
for (LockType c : LockType.values()) System.out.println(c);
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.