org.sdnplatform.sync
Enum ISyncService.Scope

java.lang.Object
  extended by java.lang.Enum<ISyncService.Scope>
      extended by org.sdnplatform.sync.ISyncService.Scope
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ISyncService.Scope>
Enclosing interface:
ISyncService

public static enum ISyncService.Scope
extends java.lang.Enum<ISyncService.Scope>


Enum Constant Summary
GLOBAL
          Stores with this scope will be replicated to all nodes in the cluster
LOCAL
          Stores with this scope will be replicated only to other nodes within the writing node's local domain
UNSYNCHRONIZED
          Stores with this scope will not be replicated and will be stored locally only.
 
Method Summary
static ISyncService.Scope valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ISyncService.Scope[] 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

GLOBAL

public static final ISyncService.Scope GLOBAL
Stores with this scope will be replicated to all nodes in the cluster


LOCAL

public static final ISyncService.Scope LOCAL
Stores with this scope will be replicated only to other nodes within the writing node's local domain


UNSYNCHRONIZED

public static final ISyncService.Scope UNSYNCHRONIZED
Stores with this scope will not be replicated and will be stored locally only.

Method Detail

values

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

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

valueOf

public static ISyncService.Scope valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null