com.j_spaces.core.filters
Enum ReplicationStatistics.ReplicationMode
java.lang.Object
java.lang.Enum<ReplicationStatistics.ReplicationMode>
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>
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
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()
Copyright © GigaSpaces.