public enum ProbeType extends Enum<ProbeType>
Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
public static final ProbeType PING
public static final ProbeType TCP
public static final ProbeType HTTP
public static final ProbeType HTTPS
public static final ProbeType UNRECOGNIZED
public static ProbeType[] values()
for (ProbeType c : ProbeType.values()) System.out.println(c);
public static ProbeType 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 nullCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.