GigaSpaces XAP 9.7.2 API

com.j_spaces.core.filters
Enum ReplicationStatistics.ReplicationOperatingMode

java.lang.Object
  extended by java.lang.Enum<ReplicationStatistics.ReplicationOperatingMode>
      extended by com.j_spaces.core.filters.ReplicationStatistics.ReplicationOperatingMode
All Implemented Interfaces:
Serializable, Comparable<ReplicationStatistics.ReplicationOperatingMode>
Enclosing class:
ReplicationStatistics

public static enum ReplicationStatistics.ReplicationOperatingMode
extends 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.

Since:
8.0
Author:
eitany

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

SYNC

public static final ReplicationStatistics.ReplicationOperatingMode SYNC
Channel is operating in synchronous mode


ASYNC

public static final ReplicationStatistics.ReplicationOperatingMode 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

public static final ReplicationStatistics.ReplicationOperatingMode 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.

Method Detail

values

public static ReplicationStatistics.ReplicationOperatingMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReplicationStatistics.ReplicationOperatingMode c : ReplicationStatistics.ReplicationOperatingMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReplicationStatistics.ReplicationOperatingMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCode

public byte getCode()

fromCode

public static ReplicationStatistics.ReplicationOperatingMode fromCode(byte code)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.