| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.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 | |
|---|---|
| DEADLOCKSDetect and report deadlocks. | |
| DIALOGSDetect and report dialogs posted with lock held. | |
| FAIRUse fair locking. | |
| HISTORYCollect lock history for use when reporting. | |
| JDKUse JDK ReentrantReadWriteLockimplementation. | |
| LEGACYUse legacy wait-notify based implementation. | |
| NESTED_HISTORYCollect nested lock history for use when reporting. | |
| UPGRADESDetect 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 name
java.lang.NullPointerException - if the argument is null| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||