cz.vutbr.fit.racedetector
Enum RaceDetector.HealingMethod

java.lang.Object
  extended by java.lang.Enum<RaceDetector.HealingMethod>
      extended by cz.vutbr.fit.racedetector.RaceDetector.HealingMethod
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RaceDetector.HealingMethod>
Enclosing class:
RaceDetector

public static enum RaceDetector.HealingMethod
extends java.lang.Enum<RaceDetector.HealingMethod>

Methods of healing:


Enum Constant Summary
NEWMUTEX
           
OTSTRONGYIELD
           
OTWAIT
           
OTYIELD
           
PRIORITY
           
SEMAPHORE
           
THREADS
           
YIELD
           
YIELDPRIORITY
           
YIELDTHREADS
           
 
Method Summary
static RaceDetector.HealingMethod valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RaceDetector.HealingMethod[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

THREADS

public static final RaceDetector.HealingMethod THREADS

YIELD

public static final RaceDetector.HealingMethod YIELD

PRIORITY

public static final RaceDetector.HealingMethod PRIORITY

YIELDPRIORITY

public static final RaceDetector.HealingMethod YIELDPRIORITY

YIELDTHREADS

public static final RaceDetector.HealingMethod YIELDTHREADS

NEWMUTEX

public static final RaceDetector.HealingMethod NEWMUTEX

SEMAPHORE

public static final RaceDetector.HealingMethod SEMAPHORE

OTYIELD

public static final RaceDetector.HealingMethod OTYIELD

OTWAIT

public static final RaceDetector.HealingMethod OTWAIT

OTSTRONGYIELD

public static final RaceDetector.HealingMethod OTSTRONGYIELD
Method Detail

values

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

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

valueOf

public static RaceDetector.HealingMethod 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