Enum Class Simulate.With

java.lang.Object
java.lang.Enum<Simulate.With>
org.apache.cassandra.utils.Simulate.With
All Implemented Interfaces:
Serializable, Comparable<Simulate.With>, Constable
Enclosing class:
Simulate

public static enum Simulate.With extends Enum<Simulate.With>
  • Enum Constant Details

    • 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 Details

    • values

      public static Simulate.With[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Simulate.With valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null