Package org.apache.cassandra.utils
Enum Simulate.With
- java.lang.Object
-
- java.lang.Enum<Simulate.With>
-
- org.apache.cassandra.utils.Simulate.With
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Simulate.With>
- Enclosing class:
- Simulate
public static enum Simulate.With extends java.lang.Enum<Simulate.With>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GLOBAL_CLOCK
Calls to FBUtilities.timestampMicros() will be guaranteed globally monotonically increasing.LOCK_SUPPORT
Usages of LockSupport.MONITORS
synchronized methods and blocks, and wait/notify.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Simulate.With
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Simulate.With[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOBAL_CLOCK
public static final Simulate.With GLOBAL_CLOCK
Calls to FBUtilities.timestampMicros() will be guaranteed globally monotonically increasing. May be annotated at the method or class level.
-
MONITORS
public static final Simulate.With MONITORS
synchronized methods and blocks, and wait/notify. May be annotated at the class level.
-
LOCK_SUPPORT
public static final Simulate.With LOCK_SUPPORT
Usages of LockSupport. This defaults to ON for all classes, including system classes. May be annotated at the method or class level.
-
-
Method Detail
-
values
public static Simulate.With[] 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 (Simulate.With c : Simulate.With.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Simulate.With 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 namejava.lang.NullPointerException
- if the argument is null
-
-