Enum ProbeType
- java.lang.Object
-
- java.lang.Enum<ProbeType>
-
- org.jclouds.openstack.neutron.v2.domain.lbaas.v1.ProbeType
-
- All Implemented Interfaces:
Serializable
,Comparable<ProbeType>
public enum ProbeType extends Enum<ProbeType>
Enumerates supported types of probe sent by health monitor to verify member state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP
Health monitor sends an HTTP request to the member.HTTPS
Health monitor sends a secure HTTP request to the member.PING
Health monitor pings the members by using ICMP.TCP
Health monitor connects to the members by using TCP.UNRECOGNIZED
Used by jclouds when the service returns an unknown value other than null.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProbeType
fromValue(String name)
String
toString()
static ProbeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ProbeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PING
public static final ProbeType PING
Health monitor pings the members by using ICMP.
-
TCP
public static final ProbeType TCP
Health monitor connects to the members by using TCP.
-
HTTP
public static final ProbeType HTTP
Health monitor sends an HTTP request to the member.
-
HTTPS
public static final ProbeType HTTPS
Health monitor sends a secure HTTP request to the member.
-
UNRECOGNIZED
public static final ProbeType UNRECOGNIZED
Used by jclouds when the service returns an unknown value other than null.
-
-
Method Detail
-
values
public static ProbeType[] 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 (ProbeType c : ProbeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProbeType 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
-
-