GigaSpaces XAP 10.0.1 API

com.j_spaces.core.filters
Enum ReplicationStatistics.ReplicationMode

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

public static enum ReplicationStatistics.ReplicationMode
extends Enum<ReplicationStatistics.ReplicationMode>


Enum Constant Summary
ACTIVE_SPACE
           
ASYNC
          Deprecated. 
BACKUP_SPACE
           
DURABLE_NOTIFICATION
           
GATEWAY
           
LOCAL_VIEW
           
MIRROR
           
SYNC
          Deprecated. 
 
Method Summary
static ReplicationStatistics.ReplicationMode fromCode(byte code)
           
 byte getCode()
           
static ReplicationStatistics.ReplicationMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReplicationStatistics.ReplicationMode[] 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

@Deprecated
public static final ReplicationStatistics.ReplicationMode SYNC
Deprecated. 

ASYNC

@Deprecated
public static final ReplicationStatistics.ReplicationMode ASYNC
Deprecated. 

MIRROR

public static final ReplicationStatistics.ReplicationMode MIRROR

BACKUP_SPACE

public static final ReplicationStatistics.ReplicationMode BACKUP_SPACE

ACTIVE_SPACE

public static final ReplicationStatistics.ReplicationMode ACTIVE_SPACE

LOCAL_VIEW

public static final ReplicationStatistics.ReplicationMode LOCAL_VIEW

GATEWAY

public static final ReplicationStatistics.ReplicationMode GATEWAY

DURABLE_NOTIFICATION

public static final ReplicationStatistics.ReplicationMode DURABLE_NOTIFICATION
Method Detail

values

public static ReplicationStatistics.ReplicationMode[] 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.ReplicationMode c : ReplicationStatistics.ReplicationMode.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.ReplicationMode 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

fromCode

public static ReplicationStatistics.ReplicationMode fromCode(byte code)

getCode

public byte getCode()

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.