public static enum ReplicationStatistics.ReplicationOperatingMode extends Enum<ReplicationStatistics.ReplicationOperatingMode>
Enum Constant and Description |
---|
ASYNC
Channel is operating in asynchronous mode, if the channel original type is synchronous
this means that there is compromised data that is currently being replicated
asynchronously, once the synchronous state is restored there is no more compromised
data.
|
RELIABLE_ASYNC
Channel is operating in reliable asynchronous mode which means there's at least one
active synchronous backup that keeps the replication redo log for this channel in case of
a failure.
|
SYNC
Channel is operating in synchronous mode
|
Modifier and Type | Method and Description |
---|---|
static ReplicationStatistics.ReplicationOperatingMode |
fromCode(byte code) |
byte |
getCode() |
static ReplicationStatistics.ReplicationOperatingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationStatistics.ReplicationOperatingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationStatistics.ReplicationOperatingMode SYNC
public static final ReplicationStatistics.ReplicationOperatingMode ASYNC
public static final ReplicationStatistics.ReplicationOperatingMode RELIABLE_ASYNC
public static ReplicationStatistics.ReplicationOperatingMode[] values()
for (ReplicationStatistics.ReplicationOperatingMode c : ReplicationStatistics.ReplicationOperatingMode.values()) System.out.println(c);
public static ReplicationStatistics.ReplicationOperatingMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte getCode()
public static ReplicationStatistics.ReplicationOperatingMode fromCode(byte code)
Copyright © GigaSpaces.