Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.javatools.buffer
Enum ReadWriteLock.Options

java.lang.Object
  extended by java.lang.Enum<ReadWriteLock.Options>
      extended by oracle.javatools.buffer.ReadWriteLock.Options
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReadWriteLock.Options>
Enclosing class:
ReadWriteLock

public static enum ReadWriteLock.Options
extends java.lang.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.
HISTORY
          Collect lock history for use when reporting.
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

DEADLOCKS

public static final ReadWriteLock.Options DEADLOCKS
Detect and report deadlocks.


UPGRADES

public static final ReadWriteLock.Options UPGRADES
Detect and report lock upgrades.


HISTORY

public static final ReadWriteLock.Options HISTORY
Collect lock history for use when reporting.


NESTED_HISTORY

public static final ReadWriteLock.Options NESTED_HISTORY
Collect nested lock history for use when reporting.


DIALOGS

public static final ReadWriteLock.Options DIALOGS
Detect and report dialogs posted with lock held.

Method Detail

values

public static ReadWriteLock.Options[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReadWriteLock.Options c : ReadWriteLock.Options.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReadWriteLock.Options valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
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 Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.