ReplicationMode Class

public final class ReplicationMode
extends ExpandableStringEnum<ReplicationMode>

Replication mode of the link.

Field Summary

Modifier and Type Field and Description
static final ReplicationMode ASYNC

Async.

static final ReplicationMode SYNC

Sync.

Constructor Summary

Constructor Description
ReplicationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicationMode value.

Method Summary

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

Creates or finds a ReplicationMode from its string representation.

static Collection<ReplicationMode> values()

Gets known ReplicationMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ASYNC

public static final ReplicationMode ASYNC

Async.

SYNC

public static final ReplicationMode SYNC

Sync.

Constructor Details

ReplicationMode

@Deprecated
public ReplicationMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReplicationMode value.

Method Details

fromString

public static ReplicationMode fromString(String name)

Creates or finds a ReplicationMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReplicationMode.

values

public static Collection<ReplicationMode> values()

Gets known ReplicationMode values.

Returns:

known ReplicationMode values.

Applies to