public enum TxnServiceVerb extends Enum<TxnServiceVerb>
Enum Constant and Description |
---|
CAS
Sets, but with CAS semantics using the given ModifyIndex
|
DELETE
Delete the service
|
DELETE_CAS
Delete, but with CAS semantics
|
GET
Get the service, fails if it does not exist
|
SET
Sets the service to the given state
|
Modifier and Type | Method and Description |
---|---|
String |
getVerb() |
static TxnServiceVerb |
ofVerb(String verb) |
static TxnServiceVerb |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TxnServiceVerb[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxnServiceVerb SET
public static final TxnServiceVerb CAS
public static final TxnServiceVerb GET
public static final TxnServiceVerb DELETE
public static final TxnServiceVerb DELETE_CAS
public static TxnServiceVerb[] values()
for (TxnServiceVerb c : TxnServiceVerb.values()) System.out.println(c);
public static TxnServiceVerb valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TxnServiceVerb ofVerb(String verb)
public String getVerb()
Copyright © 2024 Eclipse. All rights reserved.