Package com.gpudb
Enum GPUdbBase.HASynchronicityMode
- java.lang.Object
-
- java.lang.Enum<GPUdbBase.HASynchronicityMode>
-
- com.gpudb.GPUdbBase.HASynchronicityMode
-
- All Implemented Interfaces:
Serializable,Comparable<GPUdbBase.HASynchronicityMode>
- Enclosing class:
- GPUdbBase
public static enum GPUdbBase.HASynchronicityMode extends Enum<GPUdbBase.HASynchronicityMode>
A enumeration of high-availability synchronicity override modes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNCHRONOUSASYNCHRONOUS_PARALLELDEFAULTNONESYNCHRONOUSSYNCHRONOUS_PARALLEL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GPUdbBase.HASynchronicityModefromValue(String value)StringgetMode()static StringgetModeByEnum(GPUdbBase.HASynchronicityMode mode)static Vector<String>getValuesAsVector()static GPUdbBase.HASynchronicityModevalueOf(String name)Returns the enum constant of this type with the specified name.static GPUdbBase.HASynchronicityMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final GPUdbBase.HASynchronicityMode DEFAULT
-
NONE
public static final GPUdbBase.HASynchronicityMode NONE
-
SYNCHRONOUS
public static final GPUdbBase.HASynchronicityMode SYNCHRONOUS
-
SYNCHRONOUS_PARALLEL
public static final GPUdbBase.HASynchronicityMode SYNCHRONOUS_PARALLEL
-
ASYNCHRONOUS
public static final GPUdbBase.HASynchronicityMode ASYNCHRONOUS
-
ASYNCHRONOUS_PARALLEL
public static final GPUdbBase.HASynchronicityMode ASYNCHRONOUS_PARALLEL
-
-
Method Detail
-
values
public static GPUdbBase.HASynchronicityMode[] 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 (GPUdbBase.HASynchronicityMode c : GPUdbBase.HASynchronicityMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GPUdbBase.HASynchronicityMode 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 nameNullPointerException- if the argument is null
-
getMode
public String getMode()
-
fromValue
public static GPUdbBase.HASynchronicityMode fromValue(String value)
-
getModeByEnum
public static String getModeByEnum(GPUdbBase.HASynchronicityMode mode)
-
-