StopHostsWhen Class

public final class StopHostsWhen
extends ExpandableStringEnum<StopHostsWhen>

Specifies when to stop hosts during ramp down period.

Field Summary

Modifier and Type Field and Description
static final StopHostsWhen ZERO_ACTIVE_SESSIONS

Static value ZeroActiveSessions for StopHostsWhen.

static final StopHostsWhen ZERO_SESSIONS

Static value ZeroSessions for StopHostsWhen.

Constructor Summary

Constructor Description
StopHostsWhen()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StopHostsWhen value.

Method Summary

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

Creates or finds a StopHostsWhen from its string representation.

static Collection<StopHostsWhen> values()

Gets known StopHostsWhen values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ZERO_ACTIVE_SESSIONS

public static final StopHostsWhen ZERO_ACTIVE_SESSIONS

Static value ZeroActiveSessions for StopHostsWhen.

ZERO_SESSIONS

public static final StopHostsWhen ZERO_SESSIONS

Static value ZeroSessions for StopHostsWhen.

Constructor Details

StopHostsWhen

@Deprecated
public StopHostsWhen()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StopHostsWhen value.

Method Details

fromString

public static StopHostsWhen fromString(String name)

Creates or finds a StopHostsWhen from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StopHostsWhen.

values

public static Collection<StopHostsWhen> values()

Gets known StopHostsWhen values.

Returns:

known StopHostsWhen values.

Applies to