ProbeNoHealthyBackendsBehavior Class

public final class ProbeNoHealthyBackendsBehavior
extends ExpandableStringEnum<ProbeNoHealthyBackendsBehavior>

Determines how new connections are handled by the load balancer when all backend instances are probed down.

Field Summary

Modifier and Type Field and Description
static final ProbeNoHealthyBackendsBehavior ALL_PROBED_DOWN

Static value AllProbedDown for ProbeNoHealthyBackendsBehavior.

static final ProbeNoHealthyBackendsBehavior ALL_PROBED_UP

Static value AllProbedUp for ProbeNoHealthyBackendsBehavior.

Constructor Summary

Constructor Description
ProbeNoHealthyBackendsBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProbeNoHealthyBackendsBehavior value.

Method Summary

Modifier and Type Method and Description
static ProbeNoHealthyBackendsBehavior fromString(String name)

Creates or finds a ProbeNoHealthyBackendsBehavior from its string representation.

static Collection<ProbeNoHealthyBackendsBehavior> values()

Gets known ProbeNoHealthyBackendsBehavior values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL_PROBED_DOWN

public static final ProbeNoHealthyBackendsBehavior ALL_PROBED_DOWN

Static value AllProbedDown for ProbeNoHealthyBackendsBehavior.

ALL_PROBED_UP

public static final ProbeNoHealthyBackendsBehavior ALL_PROBED_UP

Static value AllProbedUp for ProbeNoHealthyBackendsBehavior.

Constructor Details

ProbeNoHealthyBackendsBehavior

@Deprecated
public ProbeNoHealthyBackendsBehavior()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProbeNoHealthyBackendsBehavior value.

Method Details

fromString

public static ProbeNoHealthyBackendsBehavior fromString(String name)

Creates or finds a ProbeNoHealthyBackendsBehavior from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProbeNoHealthyBackendsBehavior.

values

public static Collection values()

Gets known ProbeNoHealthyBackendsBehavior values.

Returns:

known ProbeNoHealthyBackendsBehavior values.

Applies to