ReplicationState Class

public final class ReplicationState
extends ExpandableStringEnum<ReplicationState>

This is the regional replication state.

Field Summary

Modifier and Type Field and Description
static final ReplicationState COMPLETED

Static value Completed for ReplicationState.

static final ReplicationState FAILED

Static value Failed for ReplicationState.

static final ReplicationState REPLICATING

Static value Replicating for ReplicationState.

static final ReplicationState UNKNOWN

Static value Unknown for ReplicationState.

Constructor Summary

Constructor Description
ReplicationState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicationState value.

Method Summary

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

Creates or finds a ReplicationState from its string representation.

static Collection<ReplicationState> values()

Gets known ReplicationState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COMPLETED

public static final ReplicationState COMPLETED

Static value Completed for ReplicationState.

FAILED

public static final ReplicationState FAILED

Static value Failed for ReplicationState.

REPLICATING

public static final ReplicationState REPLICATING

Static value Replicating for ReplicationState.

UNKNOWN

public static final ReplicationState UNKNOWN

Static value Unknown for ReplicationState.

Constructor Details

ReplicationState

@Deprecated
public ReplicationState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicationState value.

Method Details

fromString

public static ReplicationState fromString(String name)

Creates or finds a ReplicationState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReplicationState.

values

public static Collection values()

Gets known ReplicationState values.

Returns:

known ReplicationState values.

Applies to