|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationSynchronizationProviderCfg
A server-side interface for querying Replication Synchronization Provider settings.
The Replication Synchronization Provider provides multi-master replication of data across multiple Directory Server instances.
Method Summary | |
---|---|
void |
addReplicationChangeListener(ConfigurationChangeListener<ReplicationSynchronizationProviderCfg> listener)
Register to be notified when this Replication Synchronization Provider is changed. |
void |
addReplicationDomainAddListener(ConfigurationAddListener<ReplicationDomainCfg> listener)
Registers to be notified when new Replication Domains are added. |
void |
addReplicationDomainDeleteListener(ConfigurationDeleteListener<ReplicationDomainCfg> listener)
Registers to be notified when existing Replication Domains are deleted. |
void |
addReplicationServerAddListener(ConfigurationAddListener<ReplicationServerCfg> listener)
Registers to be notified when the Replication Server is added. |
void |
addReplicationServerDeleteListener(ConfigurationDeleteListener<ReplicationServerCfg> listener)
Registers to be notified the Replication Server is deleted. |
java.lang.Class<? extends ReplicationSynchronizationProviderCfg> |
configurationClass()
Gets the configuration class associated with this Replication Synchronization Provider. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
int |
getNumUpdateReplayThreads()
Gets the "num-update-replay-threads" property. |
ReplicationDomainCfg |
getReplicationDomain(java.lang.String name)
Gets the named Replication Domain. |
ReplicationServerCfg |
getReplicationServer()
Gets the Replication Server if it is present. |
boolean |
hasReplicationServer()
Determines whether or not the Replication Server exists. |
java.lang.String[] |
listReplicationDomains()
Lists the Replication Domains. |
void |
removeReplicationChangeListener(ConfigurationChangeListener<ReplicationSynchronizationProviderCfg> listener)
Deregister an existing Replication Synchronization Provider configuration change listener. |
void |
removeReplicationDomainAddListener(ConfigurationAddListener<ReplicationDomainCfg> listener)
Deregisters an existing Replication Domain configuration add listener. |
void |
removeReplicationDomainDeleteListener(ConfigurationDeleteListener<ReplicationDomainCfg> listener)
Deregisters an existing Replication Domain configuration delete listener. |
void |
removeReplicationServerAddListener(ConfigurationAddListener<ReplicationServerCfg> listener)
Deregisters an existing Replication Server configuration add listener. |
void |
removeReplicationServerDeleteListener(ConfigurationDeleteListener<ReplicationServerCfg> listener)
Deregisters an existing Replication Server configuration delete listener. |
Methods inherited from interface org.opends.server.admin.std.server.SynchronizationProviderCfg |
---|
addChangeListener, isEnabled, removeChangeListener |
Methods inherited from interface org.opends.server.admin.Configuration |
---|
dn |
Method Detail |
---|
java.lang.Class<? extends ReplicationSynchronizationProviderCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface SynchronizationProviderCfg
void addReplicationChangeListener(ConfigurationChangeListener<ReplicationSynchronizationProviderCfg> listener)
listener
- The Replication Synchronization Provider configuration change listener.void removeReplicationChangeListener(ConfigurationChangeListener<ReplicationSynchronizationProviderCfg> listener)
listener
- The Replication Synchronization Provider configuration change listener.java.lang.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Replication Synchronization Provider implementation.
getJavaClass
in interface SynchronizationProviderCfg
int getNumUpdateReplayThreads()
Specifies the number of update replay threads.
This value is the number of threads created for replaying every updates received for all the replication domains.
java.lang.String[] listReplicationDomains()
ReplicationDomainCfg getReplicationDomain(java.lang.String name) throws ConfigException
name
- The name of the Replication Domain to retrieve.
ConfigException
- If the Replication Domain could not be found or it
could not be successfully decoded.void addReplicationDomainAddListener(ConfigurationAddListener<ReplicationDomainCfg> listener) throws ConfigException
listener
- The Replication Domain configuration add listener.
ConfigException
- If the add listener could not be registered.void removeReplicationDomainAddListener(ConfigurationAddListener<ReplicationDomainCfg> listener)
listener
- The Replication Domain configuration add listener.void addReplicationDomainDeleteListener(ConfigurationDeleteListener<ReplicationDomainCfg> listener) throws ConfigException
listener
- The Replication Domain configuration delete listener.
ConfigException
- If the delete listener could not be registered.void removeReplicationDomainDeleteListener(ConfigurationDeleteListener<ReplicationDomainCfg> listener)
listener
- The Replication Domain configuration delete listener.boolean hasReplicationServer()
ReplicationServerCfg getReplicationServer() throws ConfigException
ConfigException
- If the Replication Server does not exist or it could not
be successfully decoded.void addReplicationServerAddListener(ConfigurationAddListener<ReplicationServerCfg> listener) throws ConfigException
listener
- The Replication Server configuration add listener.
ConfigException
- If the add listener could not be registered.void removeReplicationServerAddListener(ConfigurationAddListener<ReplicationServerCfg> listener)
listener
- The Replication Server configuration add listener.void addReplicationServerDeleteListener(ConfigurationDeleteListener<ReplicationServerCfg> listener) throws ConfigException
listener
- The Replication Server configuration delete listener.
ConfigException
- If the delete listener could not be registered.void removeReplicationServerDeleteListener(ConfigurationDeleteListener<ReplicationServerCfg> listener)
listener
- The Replication Server configuration delete listener.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |