public static enum IStoreBinding.InterClusterReplicationRole extends Enum<IStoreBinding.InterClusterReplicationRole>
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 and Description |
---|
Sender
Inter-cluster replication sender.
|
StandaloneReceiver
Inter-cluster replication receiver (standalone).
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
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 nameNullPointerException
- if the argument is nullCopyright © 2019 Neeve Research, LLC. All Rights Reserved.