Class LeaderBasedReplicationDomainCfgDefn
A Leader Based Replication Domain comprises of several Directory Servers sharing the same synchronized set of data.
-
Method Summary
Modifier and TypeMethodDescriptioncreateClientConfiguration
(ManagedObject<? extends LeaderBasedReplicationDomainCfgClient> impl) Creates a client configuration view of the provided managed object.createServerConfiguration
(ServerManagedObject<? extends LeaderBasedReplicationDomainCfg> impl) Creates a server configuration view of the provided server managed object.Get the "base-dn" property definition.Get the "bootstrap-replication-server" property definition.Get the "enabled" property definition.Get the Leader Based Replication Domain configuration definition singleton.Get the "replication-purge-delay" property definition.Gets the server configuration class instance associated with this managed object definition.Get the "solve-conflicts" property definition.Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
Method Details
-
getInstance
Get the Leader Based Replication Domain configuration definition singleton.- Returns:
- Returns the Leader Based Replication Domain configuration definition singleton.
-
createClientConfiguration
public LeaderBasedReplicationDomainCfgClient createClientConfiguration(ManagedObject<? extends LeaderBasedReplicationDomainCfgClient> impl) Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<LeaderBasedReplicationDomainCfgClient,
LeaderBasedReplicationDomainCfg> - Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public LeaderBasedReplicationDomainCfg createServerConfiguration(ServerManagedObject<? extends LeaderBasedReplicationDomainCfg> impl) Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<LeaderBasedReplicationDomainCfgClient,
LeaderBasedReplicationDomainCfg> - Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<LeaderBasedReplicationDomainCfgClient,
LeaderBasedReplicationDomainCfg> - Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getBaseDnPropertyDefinition
Get the "base-dn" property definition.Specifies the base DN of the replicated data.
- Returns:
- Returns the "base-dn" property definition.
-
getBootstrapReplicationServerPropertyDefinition
Get the "bootstrap-replication-server" property definition.The addresses of one or more replication servers within the topology which this server should connect to in order to discover the rest of the topology.
Addresses must be specified using the replication port of the remote replication servers using the syntax "hostname:repl-port". When using an IPv6 address as the hostname, put brackets around the address as in "[IPv6Address]:repl-port".
- Returns:
- Returns the "bootstrap-replication-server" property definition.
-
getEnabledPropertyDefinition
Get the "enabled" property definition.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.
- Returns:
- Returns the "enabled" property definition.
-
getReplicationPurgeDelayPropertyDefinition
Get the "replication-purge-delay" property definition.Minimum lifetime of changelog data and old replication meta-data in directory entries. Changelog data and replication meta-data older than this setting is eligible to be removed.
After the purge delay has passed, the server removes old changelog data over time when it applies new updates. Replication meta-data is stored in changed directory entries. The server removes old replication meta-data either when the entry is next modified, or by a dedicated purge task, whichever happens first. The server temporarily stops removing old data when it has been unable to process updates for an extended period of time. For example, the server stops removing data when the server is offline, and when it cannot access other servers due to a network partition. Once old data is removed, the server can no longer use it for replication. Changelog and replication meta-data older than the purge delay must therefore be considered stale. Backups must be newer than the purge delay, including the time it takes to restore a backup.
- Returns:
- Returns the "replication-purge-delay" property definition.
-
getSolveConflictsPropertyDefinition
Get the "solve-conflicts" property definition.Indicates if this server solves conflict.
This boolean indicates if this domain keeps the historical meta-data necessary to solve conflicts. When set to false the server will not maintain historical meta-data and will therefore not be able to solve conflict. This should therefore be done only if the replication is used in a single master type of deployment.
- Returns:
- Returns the "solve-conflicts" property definition.
-