Sdílet prostřednictvím


FailoverConnectionStatus Class

public final class FailoverConnectionStatus
extends ExpandableStringEnum<FailoverConnectionStatus>

The current status of the connection.

Field Summary

Modifier and Type Field and Description
static final FailoverConnectionStatus CONNECTED

Static value Connected for FailoverConnectionStatus.

static final FailoverConnectionStatus DISCONNECTED

Static value Disconnected for FailoverConnectionStatus.

Constructor Summary

Constructor Description
FailoverConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverConnectionStatus value.

Method Summary

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

Creates or finds a FailoverConnectionStatus from its string representation.

static Collection<FailoverConnectionStatus> values()

Gets known FailoverConnectionStatus values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONNECTED

public static final FailoverConnectionStatus CONNECTED

Static value Connected for FailoverConnectionStatus.

DISCONNECTED

public static final FailoverConnectionStatus DISCONNECTED

Static value Disconnected for FailoverConnectionStatus.

Constructor Details

FailoverConnectionStatus

@Deprecated
public FailoverConnectionStatus()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of FailoverConnectionStatus value.

Method Details

fromString

public static FailoverConnectionStatus fromString(String name)

Creates or finds a FailoverConnectionStatus from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding FailoverConnectionStatus.

values

public static Collection values()

Gets known FailoverConnectionStatus values.

Returns:

known FailoverConnectionStatus values.

Applies to