public interface ReplicationServiceDiscoveryMechanismCfg extends ServiceDiscoveryMechanismCfg
A Replication Service Discovery Mechanism returns the set of directory servers participating in a replication topology.
| Modifier and Type | Method and Description |
|---|---|
void |
addReplicationChangeListener(ConfigurationChangeListener<ReplicationServiceDiscoveryMechanismCfg> listener)
Register to be notified when this Replication Service Discovery Mechanism is changed.
|
Class<? extends ReplicationServiceDiscoveryMechanismCfg> |
configurationClass()
Gets the configuration class associated with this Replication Service Discovery Mechanism.
|
org.forgerock.opendj.ldap.DN |
getBindDN()
Gets the "bind-dn" property.
|
String |
getBindPassword()
Gets the "bind-password" property.
|
long |
getDiscoveryInterval()
Gets the "discovery-interval" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
Integer |
getPrimaryGroupId()
Gets the "primary-group-id" property.
|
SortedSet<String> |
getReplicationServer()
Gets the "replication-server" property.
|
void |
removeReplicationChangeListener(ConfigurationChangeListener<ReplicationServiceDiscoveryMechanismCfg> listener)
Deregister an existing Replication Service Discovery Mechanism configuration change listener.
|
addChangeListener, getKeyManagerProvider, getKeyManagerProviderDN, getSSLCertNickname, getTrustManagerProvider, getTrustManagerProviderDN, isUseSSL, isUseStartTLS, removeChangeListenerdn, nameClass<? extends ReplicationServiceDiscoveryMechanismCfg> configurationClass()
configurationClass in interface ConfigurationconfigurationClass in interface ServiceDiscoveryMechanismCfgvoid addReplicationChangeListener(ConfigurationChangeListener<ReplicationServiceDiscoveryMechanismCfg> listener)
listener - The Replication Service Discovery Mechanism configuration change listener.void removeReplicationChangeListener(ConfigurationChangeListener<ReplicationServiceDiscoveryMechanismCfg> listener)
listener - The Replication Service Discovery Mechanism configuration change listener.org.forgerock.opendj.ldap.DN getBindDN()
The bind DN for periodically reading replication server configurations
The bind DN must be present on all replication servers and directory servers, it must be able to read the server configuration.
String getBindPassword()
The bind password for periodically reading replication server configurations
The bind password must be the same on all replication and directory servers
long getDiscoveryInterval()
Interval between two replication server configuration discovery queries.
Specifies how frequently to query a replication server configuration in order to discover information about available directory server replicas.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Replication Service Discovery Mechanism implementation.
getJavaClass in interface ServiceDiscoveryMechanismCfgInteger getPrimaryGroupId()
Replication domain group ID of preferred directory server replicas.
Directory server replicas with this replication domain group ID will be preferred over other directory server replicas. Secondary server replicas will only be used when all primary server replicas become unavailable.
Copyright © 2017-2020 Wren Security. All Rights Reserved.