Package com.illumon.iris.controller
Enum PersistentQueryDbServerConfig.ServerType
java.lang.Object
java.lang.Enum<PersistentQueryDbServerConfig.ServerType>
com.illumon.iris.controller.PersistentQueryDbServerConfig.ServerType
- All Implemented Interfaces:
Serializable
,Comparable<PersistentQueryDbServerConfig.ServerType>
,java.lang.constant.Constable
- Enclosing class:
- PersistentQueryDbServerConfig
public static enum PersistentQueryDbServerConfig.ServerType extends Enum<PersistentQueryDbServerConfig.ServerType>
The type of server this instance represents
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description DISPATCHER
A remote query dispatcher to which a connection can be madeGROUP
A dispatcher group which will be handled by a server selection provider -
Method Summary
Modifier and Type Method Description static PersistentQueryDbServerConfig.ServerType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PersistentQueryDbServerConfig.ServerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DISPATCHER
A remote query dispatcher to which a connection can be made -
GROUP
A dispatcher group which will be handled by a server selection provider
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-