|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IStoreBinding.InterClusterReplicationRole>
com.neeve.ods.IStoreBinding.InterClusterReplicationRole
public static 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 |
---|
public static final IStoreBinding.InterClusterReplicationRole Sender
Cluster members designated with this role serve serve as the inter-cluster replication senders.
public static final IStoreBinding.InterClusterReplicationRole StandaloneReceiver
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 |
---|
public static IStoreBinding.InterClusterReplicationRole[] values()
for (IStoreBinding.InterClusterReplicationRole c : IStoreBinding.InterClusterReplicationRole.values()) System.out.println(c);
public static IStoreBinding.InterClusterReplicationRole valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |