Interface LeaderBasedReplicationDomainCfgClient
- All Superinterfaces:
ConfigurationClient
A client-side interface for reading and modifying Leader Based
Replication Domain settings.
A Leader Based Replication Domain comprises of several Directory Servers sharing the same synchronized set of data.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition
<? extends LeaderBasedReplicationDomainCfgClient, ? extends LeaderBasedReplicationDomainCfg> Get the configuration definition associated with this Leader Based Replication Domain.Gets the "base-dn" property.Gets the "enabled" property.void
setBaseDn
(ValueOrExpression<Dn> value) Sets the "base-dn" property.void
setEnabled
(ValueOrExpression<Boolean> value) Sets the "enabled" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends LeaderBasedReplicationDomainCfgClient,? extends LeaderBasedReplicationDomainCfg> definition()Get the configuration definition associated with this Leader Based Replication Domain.- Specified by:
definition
in interfaceConfigurationClient
- Returns:
- Returns the configuration definition associated with this Leader Based Replication Domain.
-
getBaseDn
Gets the "base-dn" property.Specifies the base DN of the replicated data.
- Returns:
- Returns the value of the "base-dn" property.
-
setBaseDn
@MandatoryProperty void setBaseDn(ValueOrExpression<Dn> value) throws PropertyException, PropertyException Sets the "base-dn" property.Specifies the base DN of the replicated data.
This property is read-only and can only be modified during creation of a Leader Based Replication Domain.
- Parameters:
value
- The value of the "base-dn" property.- Throws:
PropertyException
- If the new value is invalid.PropertyException
- If this Leader Based Replication Domain is not being initialized.
-
isEnabled
ValueOrExpression<Boolean> isEnabled()Gets the "enabled" property.Indicates whether the Leader Based Replication Domain is enabled in the server.
If a Leader Based Replication Domain is not enabled, then its contents will not be replicated.
Default value:
true
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
Sets the "enabled" property.Indicates whether the Leader Based Replication Domain is enabled in the server.
If a Leader Based Replication Domain is not enabled, then its contents will not be replicated.
- Parameters:
value
- The value of the "enabled" property.- Throws:
PropertyException
- If the new value is invalid.
-