Enum Class LockOption

java.lang.Object
java.lang.Enum<LockOption>
org.nervousync.database.enumerations.lock.LockOption
All Implemented Interfaces:
Serializable, Comparable<LockOption>, Constable

public enum LockOption extends Enum<LockOption>
Version:
$Revision: 1.0 $ $Date: May 15, 2015 6:05:34 PM $
Author:
Steven Wee wmkm0113@Hotmail.com
  • Enum Constant Details

    • NONE

      public static final LockOption NONE
    • PESSIMISTIC_UPGRADE

      public static final LockOption PESSIMISTIC_UPGRADE
    • PESSIMISTIC_UPGRADE_NOWAIT

      public static final LockOption PESSIMISTIC_UPGRADE_NOWAIT
    • OPTIMISTIC_UPGRADE

      public static final LockOption OPTIMISTIC_UPGRADE
  • Method Details

    • values

      public static LockOption[] 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 LockOption 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