AlwaysServe Class

public final class AlwaysServe
extends ExpandableStringEnum<AlwaysServe>

If Always Serve is enabled, probing for endpoint health will be disabled and endpoints will be included in the traffic routing method.

Field Summary

Modifier and Type Field and Description
static final AlwaysServe DISABLED

Static value Disabled for AlwaysServe.

static final AlwaysServe ENABLED

Static value Enabled for AlwaysServe.

Constructor Summary

Constructor Description
AlwaysServe()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlwaysServe value.

Method Summary

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

Creates or finds a AlwaysServe from its string representation.

static Collection<AlwaysServe> values()

Gets known AlwaysServe values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final AlwaysServe DISABLED

Static value Disabled for AlwaysServe.

ENABLED

public static final AlwaysServe ENABLED

Static value Enabled for AlwaysServe.

Constructor Details

AlwaysServe

@Deprecated
public AlwaysServe()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AlwaysServe value.

Method Details

fromString

public static AlwaysServe fromString(String name)

Creates or finds a AlwaysServe from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AlwaysServe.

values

public static Collection values()

Gets known AlwaysServe values.

Returns:

known AlwaysServe values.

Applies to