Enum TxnServiceVerb

    • Enum Constant Detail

      • SET

        public static final TxnServiceVerb SET
        Sets the service to the given state
      • CAS

        public static final TxnServiceVerb CAS
        Sets, but with CAS semantics using the given ModifyIndex
      • GET

        public static final TxnServiceVerb GET
        Get the service, fails if it does not exist
      • DELETE

        public static final TxnServiceVerb DELETE
        Delete the service
      • DELETE_CAS

        public static final TxnServiceVerb DELETE_CAS
        Delete, but with CAS semantics
    • Method Detail

      • values

        public static TxnServiceVerb[] 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 (TxnServiceVerb c : TxnServiceVerb.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TxnServiceVerb valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getVerb

        public String getVerb()