|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ReplicationStatistics.ReplicationOperatingMode> com.j_spaces.core.filters.ReplicationStatistics.ReplicationOperatingMode
public static enum ReplicationStatistics.ReplicationOperatingMode
Specifies the replication channel current operating mode. A synchronous channel can move to asynchronous state upon disconnection that is followed by a reconnection, And replication errors. It will remain in an asynchronous state until the accumulated replication backlog during that time period is replicated to the target and then the synchronous state is restored.
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ReplicationStatistics.ReplicationOperatingMode SYNC
public static final ReplicationStatistics.ReplicationOperatingMode ASYNC
public static final ReplicationStatistics.ReplicationOperatingMode RELIABLE_ASYNC
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic byte getCode()
public static ReplicationStatistics.ReplicationOperatingMode fromCode(byte code)
|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |