com.neeve.ods
Enum IStoreBinding.InterClusterReplicationRole

java.lang.Object
  extended by java.lang.Enum<IStoreBinding.InterClusterReplicationRole>
      extended by com.neeve.ods.IStoreBinding.InterClusterReplicationRole
All Implemented Interfaces:
Serializable, Comparable<IStoreBinding.InterClusterReplicationRole>
Enclosing interface:
IStoreBinding

public static enum IStoreBinding.InterClusterReplicationRole
extends Enum<IStoreBinding.InterClusterReplicationRole>

Enumerates the different inter-cluster replication roles of a binding.

In inter-cluster replication, the store contents of a cluster are replicated to one or more receiving clusters. This enumeration enumerates the different replication roles that can be assigned to clusters. Assigning a replication role to a cluster tantamounts to assigning the same inter-cluster replication role to all members of the cluster.


Enum Constant Summary
Sender
          Inter-cluster replication sender.
StandaloneReceiver
          Inter-cluster replication receiver (standalone).
 
Method Summary
static IStoreBinding.InterClusterReplicationRole valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IStoreBinding.InterClusterReplicationRole[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Sender

public static final IStoreBinding.InterClusterReplicationRole Sender
Inter-cluster replication sender.

Cluster members designated with this role serve serve as the inter-cluster replication senders.


StandaloneReceiver

public static final IStoreBinding.InterClusterReplicationRole StandaloneReceiver
Inter-cluster replication receiver (standalone).

Cluster members designated with this role serve as standalone inter-cluster replication receivers. Standalone implies that the receive side members designated with this role do not form clusters while operating in this mode. From the perspective of the user, the member operates as a backup cluster member but there is no intra-cluster replication actually occurring. There can be multiple simultaneous standalone replication receivers.

Method Detail

values

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

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

valueOf

public static IStoreBinding.InterClusterReplicationRole 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


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.