Class MultimasterReplication
- java.lang.Object
-
- org.opends.server.api.SynchronizationProvider<ReplicationSynchronizationProviderCfg>
-
- org.opends.server.replication.plugin.MultimasterReplication
-
- All Implemented Interfaces:
ConfigurationAddListener<ReplicationDomainCfg>,ConfigurationChangeListener<ReplicationSynchronizationProviderCfg>,ConfigurationDeleteListener<ReplicationDomainCfg>,BackupTaskListener,ExportTaskListener,ImportTaskListener,RestoreTaskListener
public class MultimasterReplication extends SynchronizationProvider<ReplicationSynchronizationProviderCfg> implements ConfigurationAddListener<ReplicationDomainCfg>, ConfigurationDeleteListener<ReplicationDomainCfg>, ConfigurationChangeListener<ReplicationSynchronizationProviderCfg>, BackupTaskListener, RestoreTaskListener, ImportTaskListener, ExportTaskListener
This class is used to load the Replication code inside the JVM and to trigger initialization of the replication. It also extends the SynchronizationProvider class in order to have some replication code running during the operation process as pre-op, conflictResolution, and post-op.
-
-
Constructor Summary
Constructors Constructor Description MultimasterReplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigChangeResultapplyConfigurationAdd(ReplicationDomainCfg configuration)Adds a new configuration to this add listener.ConfigChangeResultapplyConfigurationChange(ReplicationSynchronizationProviderCfg configuration)Applies the configuration changes to this change listener.ConfigChangeResultapplyConfigurationDelete(ReplicationDomainCfg configuration)Deletes an existing configuration from this delete listener.voidcompleteSynchronizationProvider()Performs any necessary final initialization processing for this synchronization provider.static LDAPReplicationDomaincreateNewDomain(ReplicationDomainCfg configuration)Creates a new domain from its configEntry, do the necessary initialization and starts it so that it is fully operational when this method returns.static voiddeleteDomain(DN dn)Deletes a domain.voiddoPostOperation(PostOperationAddOperation addOperation)Performs any necessary synchronization processing that may be needed after the provided add operation is performed.voiddoPostOperation(PostOperationDeleteOperation deleteOperation)Performs any necessary synchronization processing that may be needed after the provided delete operation is performed.voiddoPostOperation(PostOperationModifyDNOperation modifyDNOperation)Performs any necessary synchronization processing that may be needed after the provided modify DN operation is performed.voiddoPostOperation(PostOperationModifyOperation modifyOperation)Performs any necessary synchronization processing that may be needed after the provided modify operation is performed.SynchronizationProviderResultdoPreOperation(PreOperationAddOperation addOperation)Performs any necessary synchronization processing that may be needed before the provided add operation is performed.SynchronizationProviderResultdoPreOperation(PreOperationDeleteOperation deleteOperation)Performs any necessary synchronization processing that may be needed before the provided delete operation is performed.SynchronizationProviderResultdoPreOperation(PreOperationModifyDNOperation modifyDNOperation)Performs any necessary synchronization processing that may be needed before the provided modify DN operation is performed.SynchronizationProviderResultdoPreOperation(PreOperationModifyOperation modifyOperation)Performs any necessary synchronization processing that may be needed before the provided modify operation is performed.voidfinalizeSynchronizationProvider()Performs any necessary finalization for this synchronization provider.static LDAPReplicationDomainfindDomain(DN dn, PluginOperation pluginOp)Finds the domain for a given DN.static intgetConnectionTimeoutMS()Returns the connection timeout in milli-seconds.static Set<DN>getExcludedChangelogDomains()Gets the Set of domain baseDN which are disabled for the external changelog.static intgetNumberOfDomains()Gets the number of handled domain objects.ReplicationServerListenergetReplicationServerListener()Returns the replication server listener associated to that Multimaster Replication.SynchronizationProviderResulthandleConflictResolution(PreOperationAddOperation addOperation)Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProviderResulthandleConflictResolution(PreOperationDeleteOperation deleteOperation)Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProviderResulthandleConflictResolution(PreOperationModifyDNOperation modifyDNOperation)Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.SynchronizationProviderResulthandleConflictResolution(PreOperationModifyOperation modifyOperation)Performs any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data.voidinitializeSynchronizationProvider(ServerContext serverContext, ReplicationSynchronizationProviderCfg cfg)Performs any initialization that might be necessary for this synchronization provider.booleanisConfigurationAddAcceptable(ReplicationDomainCfg configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)Indicates whether the proposed addition of a new configuration is acceptable to this add listener.booleanisConfigurationChangeAcceptable(ReplicationSynchronizationProviderCfg configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)Indicates whether the proposed change to the configuration is acceptable to this change listener.booleanisConfigurationDeleteAcceptable(ReplicationDomainCfg configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)Indicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.static booleanisECLEnabled()Returns whether the external change-log contains data from at least a domain.static booleanisECLEnabledDomain(DN baseDN)Returns whether the provided baseDN represents a replication domain enabled for the external changelog.voidprocessBackupBegin(LocalBackend<?> backend, BackupConfig config)Performs any processing that might be necessary just before the server begins processing on a backup task.voidprocessBackupEnd(LocalBackend<?> backend, BackupConfig config, boolean successful)Performs any processing that might be necessary after the server has completed processing on a backup task.voidprocessExportBegin(LocalBackend<?> backend, LDIFExportConfig config)Performs any processing that might be necessary just before the server begins processing on an LDIF export task.voidprocessExportEnd(LocalBackend<?> backend, LDIFExportConfig config, boolean successful)Performs any processing that might be necessary after the server has completed processing on an LDIF export task.voidprocessImportBegin(LocalBackend<?> backend, LDIFImportConfig config)Performs any processing that might be necessary just before the server begins processing on an LDIF import task.voidprocessImportEnd(LocalBackend<?> backend, LDIFImportConfig config, boolean successful)Performs any processing that might be necessary after the server has completed processing on an LDIF import task.voidprocessRestoreBegin(LocalBackend<?> backend, RestoreConfig config)Performs any processing that might be necessary just before the server begins processing on a restore task.voidprocessRestoreEnd(LocalBackend<?> backend, RestoreConfig config, boolean successful)Performs any processing that might be necessary after the server has completed processing on a restore task.voidprocessSchemaChange(List<Modification> modifications)This method is called whenever the server detects a modification of the schema done by directly modifying the backing files of the schema backend.-
Methods inherited from class org.opends.server.api.SynchronizationProvider
isConfigurationAcceptable
-
-
-
-
Method Detail
-
findDomain
public static LDAPReplicationDomain findDomain(DN dn, PluginOperation pluginOp)
Finds the domain for a given DN.- Parameters:
dn- The DN for which the domain must be returned.pluginOp- An optional operation for which the check is done. Can be null is the request has no associated operation.- Returns:
- The domain for this DN.
-
createNewDomain
public static LDAPReplicationDomain createNewDomain(ReplicationDomainCfg configuration) throws ConfigException
Creates a new domain from its configEntry, do the necessary initialization and starts it so that it is fully operational when this method returns.- Parameters:
configuration- The entry with the configuration of this domain.- Returns:
- The domain created.
- Throws:
ConfigException- When the configuration is not valid.
-
deleteDomain
public static void deleteDomain(DN dn)
Deletes a domain.- Parameters:
dn- : the base DN of the domain to delete.
-
initializeSynchronizationProvider
public void initializeSynchronizationProvider(ServerContext serverContext, ReplicationSynchronizationProviderCfg cfg) throws ConfigException
Description copied from class:SynchronizationProviderPerforms any initialization that might be necessary for this synchronization provider.- Specified by:
initializeSynchronizationProviderin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
serverContext- The server context.cfg- The configuration information for this synchronization provider.- Throws:
ConfigException- If the provided entry does not contain a valid configuration for this synchronization provider.
-
isConfigurationAddAcceptable
public boolean isConfigurationAddAcceptable(ReplicationDomainCfg configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
Description copied from interface:ConfigurationAddListenerIndicates whether the proposed addition of a new configuration is acceptable to this add listener.- Specified by:
isConfigurationAddAcceptablein interfaceConfigurationAddListener<ReplicationDomainCfg>- Parameters:
configuration- The configuration that will be added.unacceptableReasons- A list that can be used to hold messages about why the provided configuration is not acceptable.- Returns:
- Returns
trueif the proposed addition is acceptable, orfalseif it is not.
-
applyConfigurationAdd
public ConfigChangeResult applyConfigurationAdd(ReplicationDomainCfg configuration)
Description copied from interface:ConfigurationAddListenerAdds a new configuration to this add listener.- Specified by:
applyConfigurationAddin interfaceConfigurationAddListener<ReplicationDomainCfg>- Parameters:
configuration- The configuration that will be added.- Returns:
- Returns information about the result of adding the configuration.
-
doPostOperation
public void doPostOperation(PostOperationAddOperation addOperation)
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed after the provided add operation is performed. This method will be invoked immediately after processing the add operation in the backend and releasing the lock on the target entry.- Specified by:
doPostOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
addOperation- The add operation to be processed.
-
doPostOperation
public void doPostOperation(PostOperationDeleteOperation deleteOperation)
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed after the provided delete operation is performed. This method will be invoked immediately after processing the delete operation in the backend and releasing the lock on the target entry.- Specified by:
doPostOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
deleteOperation- The delete operation to be processed.
-
doPostOperation
public void doPostOperation(PostOperationModifyDNOperation modifyDNOperation)
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed after the provided modify DN operation is performed. This method will be invoked immediately after processing the modify DN operation in the backend and releasing the lock on the target entry.- Specified by:
doPostOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
modifyDNOperation- The modify DN operation to be processed.
-
doPostOperation
public void doPostOperation(PostOperationModifyOperation modifyOperation)
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed after the provided modify operation is performed. This method will be invoked immediately after processing the modify operation in the backend and releasing the lock on the target entry.- Specified by:
doPostOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
modifyOperation- The modify operation to be processed.
-
handleConflictResolution
public SynchronizationProviderResult handleConflictResolution(PreOperationModifyOperation modifyOperation)
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data. This method will be invoked immediately after a lock is acquired on the target entry.- Overrides:
handleConflictResolutionin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
modifyOperation- The modify operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
-
handleConflictResolution
public SynchronizationProviderResult handleConflictResolution(PreOperationAddOperation addOperation) throws DirectoryException
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data. This method will be invoked immediately after a lock is acquired on the target entry.- Overrides:
handleConflictResolutionin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
addOperation- The add operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
- Throws:
DirectoryException- If a problem occurs during synchronization processing.
-
handleConflictResolution
public SynchronizationProviderResult handleConflictResolution(PreOperationDeleteOperation deleteOperation) throws DirectoryException
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data. This method will be invoked immediately after a lock is acquired on the target entry.- Overrides:
handleConflictResolutionin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
deleteOperation- The delete operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
- Throws:
DirectoryException- If a problem occurs during synchronization processing.
-
handleConflictResolution
public SynchronizationProviderResult handleConflictResolution(PreOperationModifyDNOperation modifyDNOperation) throws DirectoryException
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing for the operation that may be needed early on to deal with any potential conflict resolution or updates to historical data. This method will be invoked immediately after a lock is acquired on the target entry.- Overrides:
handleConflictResolutionin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
modifyDNOperation- The modify DN operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
- Throws:
DirectoryException- If a problem occurs during synchronization processing.
-
doPreOperation
public SynchronizationProviderResult doPreOperation(PreOperationModifyOperation modifyOperation)
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed before the provided modify operation is performed. This method will be invoked immediately before processing the modify operation in the backend.- Specified by:
doPreOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
modifyOperation- The modify operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
-
doPreOperation
public SynchronizationProviderResult doPreOperation(PreOperationDeleteOperation deleteOperation) throws DirectoryException
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed before the provided delete operation is performed. This method will be invoked immediately before processing the delete operation in the backend.- Specified by:
doPreOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
deleteOperation- The delete operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
- Throws:
DirectoryException- If a problem occurs during synchronization processing.
-
doPreOperation
public SynchronizationProviderResult doPreOperation(PreOperationModifyDNOperation modifyDNOperation) throws DirectoryException
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed before the provided modify DN operation is performed. This method will be invoked immediately before processing the modify DN operation in the backend.- Specified by:
doPreOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
modifyDNOperation- The modify DN operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
- Throws:
DirectoryException- If a problem occurs during synchronization processing.
-
doPreOperation
public SynchronizationProviderResult doPreOperation(PreOperationAddOperation addOperation)
Description copied from class:SynchronizationProviderPerforms any necessary synchronization processing that may be needed before the provided add operation is performed. This method will be invoked immediately before processing the add operation in the backend.- Specified by:
doPreOperationin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
addOperation- The add operation to be processed.- Returns:
- Information about the result of the synchronization provider processing. Note that if the provider indicates that processing should end for the operation, it must set the result code for the operation and should also set the response message.
-
finalizeSynchronizationProvider
public void finalizeSynchronizationProvider()
Description copied from class:SynchronizationProviderPerforms any necessary finalization for this synchronization provider. This will be called just after the provider has been unregistered with the server but before it has been unloaded.- Overrides:
finalizeSynchronizationProviderin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>
-
processSchemaChange
public void processSchemaChange(List<Modification> modifications)
This method is called whenever the server detects a modification of the schema done by directly modifying the backing files of the schema backend. Call the schema Domain if it exists.- Specified by:
processSchemaChangein classSynchronizationProvider<ReplicationSynchronizationProviderCfg>- Parameters:
modifications- The list of modifications that was applied to the schema.
-
processBackupBegin
public void processBackupBegin(LocalBackend<?> backend, BackupConfig config)
Description copied from interface:BackupTaskListenerPerforms any processing that might be necessary just before the server begins processing on a backup task. This may include flushing any outstanding writes to disk so they are included in the backup and/or pausing interaction with the provided backend while the backup is in progress.- Specified by:
processBackupBeginin interfaceBackupTaskListener- Parameters:
backend- The backend to be archived.config- Configuration information about the backup to be performed.
-
processBackupEnd
public void processBackupEnd(LocalBackend<?> backend, BackupConfig config, boolean successful)
Description copied from interface:BackupTaskListenerPerforms any processing that might be necessary after the server has completed processing on a backup task. Note that this will always be called when backup processing completes, regardless of whether it was successful.- Specified by:
processBackupEndin interfaceBackupTaskListener- Parameters:
backend- The backend that was archived.config- Configuration information about the backup that was performed.successful- Indicates whether the backup operation completed successfully.
-
processRestoreBegin
public void processRestoreBegin(LocalBackend<?> backend, RestoreConfig config)
Description copied from interface:RestoreTaskListenerPerforms any processing that might be necessary just before the server begins processing on a restore task. This should include pausing interaction with the provided backend while the restore is in progress.- Specified by:
processRestoreBeginin interfaceRestoreTaskListener- Parameters:
backend- The backend to be restored.config- Configuration information about the restore to be performed.
-
processRestoreEnd
public void processRestoreEnd(LocalBackend<?> backend, RestoreConfig config, boolean successful)
Description copied from interface:RestoreTaskListenerPerforms any processing that might be necessary after the server has completed processing on a restore task. Note that this will always be called when restore processing completes, regardless of whether it was successful.- Specified by:
processRestoreEndin interfaceRestoreTaskListener- Parameters:
backend- The backend that was restored.config- Configuration information about the restore that was performed.successful- Indicates whether the restore operation completed successfully.
-
processImportBegin
public void processImportBegin(LocalBackend<?> backend, LDIFImportConfig config)
Description copied from interface:ImportTaskListenerPerforms any processing that might be necessary just before the server begins processing on an LDIF import task. This should include pausing interaction with the provided backend while the import is in progress.- Specified by:
processImportBeginin interfaceImportTaskListener- Parameters:
backend- The backend to be imported.config- Configuration information about the LDIF import to be performed.
-
processImportEnd
public void processImportEnd(LocalBackend<?> backend, LDIFImportConfig config, boolean successful)
Description copied from interface:ImportTaskListenerPerforms any processing that might be necessary after the server has completed processing on an LDIF import task. Note that this will always be called when import processing completes, regardless of whether it was successful.- Specified by:
processImportEndin interfaceImportTaskListener- Parameters:
backend- The backend that was imported.config- Configuration information about the LDIF import that was performed.successful- Indicates whether the import operation completed successfully.
-
processExportBegin
public void processExportBegin(LocalBackend<?> backend, LDIFExportConfig config)
Description copied from interface:ExportTaskListenerPerforms any processing that might be necessary just before the server begins processing on an LDIF export task. This may include flushing any outstanding writes to disk so they are included in the export and/or pausing interaction with the provided backend while the export is in progress.- Specified by:
processExportBeginin interfaceExportTaskListener- Parameters:
backend- The backend to be exported.config- Configuration information about the LDIF export to be performed.
-
processExportEnd
public void processExportEnd(LocalBackend<?> backend, LDIFExportConfig config, boolean successful)
Description copied from interface:ExportTaskListenerPerforms any processing that might be necessary after the server has completed processing on an LDIF export task. Note that this will always be called when export processing completes, regardless of whether it was successful.- Specified by:
processExportEndin interfaceExportTaskListener- Parameters:
backend- The backend that was exported.config- Configuration information about the LDIF export that was performed.successful- Indicates whether the export operation completed successfully.
-
applyConfigurationDelete
public ConfigChangeResult applyConfigurationDelete(ReplicationDomainCfg configuration)
Description copied from interface:ConfigurationDeleteListenerDeletes an existing configuration from this delete listener.- Specified by:
applyConfigurationDeletein interfaceConfigurationDeleteListener<ReplicationDomainCfg>- Parameters:
configuration- The existing configuration that will be deleted.- Returns:
- Returns information about the result of deleting the configuration.
-
isConfigurationDeleteAcceptable
public boolean isConfigurationDeleteAcceptable(ReplicationDomainCfg configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
Description copied from interface:ConfigurationDeleteListenerIndicates whether the proposed deletion of an existing configuration is acceptable to this delete listener.- Specified by:
isConfigurationDeleteAcceptablein interfaceConfigurationDeleteListener<ReplicationDomainCfg>- Parameters:
configuration- The configuration that will be deleted.unacceptableReasons- A list that can be used to hold messages about why the provided configuration is not acceptable.- Returns:
- Returns
trueif the proposed deletion is acceptable, orfalseif it is not.
-
getReplicationServerListener
public ReplicationServerListener getReplicationServerListener()
Returns the replication server listener associated to that Multimaster Replication.- Returns:
- the listener.
-
isConfigurationChangeAcceptable
public boolean isConfigurationChangeAcceptable(ReplicationSynchronizationProviderCfg configuration, List<org.forgerock.i18n.LocalizableMessage> unacceptableReasons)
Description copied from interface:ConfigurationChangeListenerIndicates whether the proposed change to the configuration is acceptable to this change listener.- Specified by:
isConfigurationChangeAcceptablein interfaceConfigurationChangeListener<ReplicationSynchronizationProviderCfg>- Parameters:
configuration- The new configuration containing the changes.unacceptableReasons- A list that can be used to hold messages about why the provided configuration is not acceptable.- Returns:
- Returns
trueif the proposed change is acceptable, orfalseif it is not.
-
applyConfigurationChange
public ConfigChangeResult applyConfigurationChange(ReplicationSynchronizationProviderCfg configuration)
Description copied from interface:ConfigurationChangeListenerApplies the configuration changes to this change listener.- Specified by:
applyConfigurationChangein interfaceConfigurationChangeListener<ReplicationSynchronizationProviderCfg>- Parameters:
configuration- The new configuration containing the changes.- Returns:
- Returns information about the result of changing the configuration.
-
completeSynchronizationProvider
public void completeSynchronizationProvider()
Description copied from class:SynchronizationProviderPerforms any necessary final initialization processing for this synchronization provider. This will be called just after the provider has been registered with the server but before it has been unloaded.- Overrides:
completeSynchronizationProviderin classSynchronizationProvider<ReplicationSynchronizationProviderCfg>
-
getNumberOfDomains
public static int getNumberOfDomains()
Gets the number of handled domain objects.- Returns:
- The number of handled domain objects
-
getExcludedChangelogDomains
public static Set<DN> getExcludedChangelogDomains() throws DirectoryException
Gets the Set of domain baseDN which are disabled for the external changelog.- Returns:
- The Set of domain baseDNs which are disabled for the external changelog.
- Throws:
DirectoryException- if a problem occurs
-
isECLEnabledDomain
public static boolean isECLEnabledDomain(DN baseDN)
Returns whether the provided baseDN represents a replication domain enabled for the external changelog.- Parameters:
baseDN- the replication domain to check- Returns:
- true if the provided baseDN is enabled for the external changelog, false if the provided baseDN is disabled for the external changelog or unknown to multimaster replication.
-
isECLEnabled
public static boolean isECLEnabled()
Returns whether the external change-log contains data from at least a domain.- Returns:
- whether the external change-log contains data from at least a domain
-
getConnectionTimeoutMS
public static int getConnectionTimeoutMS()
Returns the connection timeout in milli-seconds.- Returns:
- The connection timeout in milli-seconds.
-
-