Class LeaderBasedReplicationDomainCfgDefn


public final class LeaderBasedReplicationDomainCfgDefn extends ManagedObjectDefinition<LeaderBasedReplicationDomainCfgClient,LeaderBasedReplicationDomainCfg>
An interface for querying the Leader Based Replication Domain managed object definition meta information.

A Leader Based Replication Domain comprises of several Directory Servers sharing the same synchronized set of data.

  • Method Details

    • getInstance

      public static LeaderBasedReplicationDomainCfgDefn getInstance()
      Get the Leader Based Replication Domain configuration definition singleton.
      Returns:
      Returns the Leader Based Replication Domain configuration definition singleton.
    • createClientConfiguration

      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 class ManagedObjectDefinition<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 class ManagedObjectDefinition<LeaderBasedReplicationDomainCfgClient,LeaderBasedReplicationDomainCfg>
      Parameters:
      impl - The server managed object.
      Returns:
      Returns a server configuration view of the provided server managed object.
    • getServerConfigurationClass

      public Class<LeaderBasedReplicationDomainCfg> getServerConfigurationClass()
      Description copied from class: ManagedObjectDefinition
      Gets the server configuration class instance associated with this managed object definition.
      Specified by:
      getServerConfigurationClass in class ManagedObjectDefinition<LeaderBasedReplicationDomainCfgClient,LeaderBasedReplicationDomainCfg>
      Returns:
      Returns the server configuration class instance associated with this managed object definition.
    • getBaseDnPropertyDefinition

      public DnPropertyDefinition getBaseDnPropertyDefinition()
      Get the "base-dn" property definition.

      Specifies the base DN of the replicated data.

      Returns:
      Returns the "base-dn" property definition.
    • getBootstrapReplicationServerPropertyDefinition

      public HostPortPropertyDefinition 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

      public BooleanPropertyDefinition 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

      public DurationPropertyDefinition 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

      public BooleanPropertyDefinition 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.