|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<ReadWriteLock.Options>
oracle.javatools.buffer.ReadWriteLock.Options
public static enum ReadWriteLock.Options
An enumeration of the configuration options for a ReadWriteLock.
Enum Constant Summary | |
---|---|
DEADLOCKS Detect and report deadlocks. |
|
DIALOGS Detect and report dialogs posted with lock held. |
|
FAIR Use fair locking. |
|
HISTORY Collect lock history for use when reporting. |
|
JDK Use JDK ReentrantReadWriteLock implementation. |
|
LEGACY Use legacy wait-notify based implementation. |
|
NESTED_HISTORY Collect nested lock history for use when reporting. |
|
UPGRADES Detect and report lock upgrades. |
Method Summary | |
---|---|
static ReadWriteLock.Options |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static ReadWriteLock.Options[] |
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 ReadWriteLock.Options JDK
ReentrantReadWriteLock
implementation.public static final ReadWriteLock.Options LEGACY
public static final ReadWriteLock.Options DEADLOCKS
public static final ReadWriteLock.Options UPGRADES
public static final ReadWriteLock.Options FAIR
public static final ReadWriteLock.Options HISTORY
public static final ReadWriteLock.Options NESTED_HISTORY
public static final ReadWriteLock.Options DIALOGS
Method Detail |
---|
public static ReadWriteLock.Options[] values()
for (ReadWriteLock.Options c : ReadWriteLock.Options.values()) System.out.println(c);
public static ReadWriteLock.Options 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 null
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |