Class LeaderBasedReplicationSynchronizationProviderCfgDefn
The Leader Based Replication Synchronization Provider provides leader based eventually consistent replication of data across multiple directory server instances.
-
Method Summary
Modifier and TypeMethodDescriptioncreateClientConfiguration
(ManagedObject<? extends LeaderBasedReplicationSynchronizationProviderCfgClient> impl) Creates a client configuration view of the provided managed object.createServerConfiguration
(ServerManagedObject<? extends LeaderBasedReplicationSynchronizationProviderCfg> impl) Creates a server configuration view of the provided server managed object.Get the "bootstrap-replication-server" property definition.Get the "enabled" property definition.Get the Leader Based Replication Synchronization Provider configuration definition singleton.Get the "java-class" property definition.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 Synchronization Provider configuration definition singleton.- Returns:
- Returns the Leader Based Replication Synchronization Provider configuration definition singleton.
-
createClientConfiguration
public LeaderBasedReplicationSynchronizationProviderCfgClient createClientConfiguration(ManagedObject<? extends LeaderBasedReplicationSynchronizationProviderCfgClient> 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<LeaderBasedReplicationSynchronizationProviderCfgClient,
LeaderBasedReplicationSynchronizationProviderCfg> - Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public LeaderBasedReplicationSynchronizationProviderCfg createServerConfiguration(ServerManagedObject<? extends LeaderBasedReplicationSynchronizationProviderCfg> impl) Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<LeaderBasedReplicationSynchronizationProviderCfgClient,
LeaderBasedReplicationSynchronizationProviderCfg> - 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<LeaderBasedReplicationSynchronizationProviderCfgClient,
LeaderBasedReplicationSynchronizationProviderCfg> - Returns:
- Returns the server configuration class instance associated with this managed object 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 Synchronization Provider is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getJavaClassPropertyDefinition
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the Leader Based Replication Synchronization Provider implementation.
- Returns:
- Returns the "java-class" 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.
-