GigaSpaces XAP 9.0 API

org.openspaces.admin.space
Enum ReplicationTargetType

java.lang.Object
  extended by java.lang.Enum<ReplicationTargetType>
      extended by org.openspaces.admin.space.ReplicationTargetType
All Implemented Interfaces:
Serializable, Comparable<ReplicationTargetType>

public enum ReplicationTargetType
extends Enum<ReplicationTargetType>

Specified the replication target type

Since:
8.0.3
Author:
eitany

Enum Constant Summary
DURABLE_NOTIFICATION
          The target is a registered durable notification
GATEWAY
          The target is a gateway
LOCAL_VIEW
          The target is a local view
MIRROR_SERVICE
          The target is a mirror service
SPACE_INSTANCE
          The target is a space instance
 
Method Summary
static ReplicationTargetType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReplicationTargetType[] 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

SPACE_INSTANCE

public static final ReplicationTargetType SPACE_INSTANCE
The target is a space instance


MIRROR_SERVICE

public static final ReplicationTargetType MIRROR_SERVICE
The target is a mirror service


GATEWAY

public static final ReplicationTargetType GATEWAY
The target is a gateway


LOCAL_VIEW

public static final ReplicationTargetType LOCAL_VIEW
The target is a local view


DURABLE_NOTIFICATION

public static final ReplicationTargetType DURABLE_NOTIFICATION
The target is a registered durable notification

Method Detail

values

public static ReplicationTargetType[] 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 (ReplicationTargetType c : ReplicationTargetType.values())
    System.out.println(c);

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

valueOf

public static ReplicationTargetType 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

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.