Class StaticServiceDiscoveryMechanism

  • All Implemented Interfaces:
    Closeable, AutoCloseable, ServiceDiscoveryMechanism

    public final class StaticServiceDiscoveryMechanism
    extends Object
    This mechanism only returns the list of servers in its configuration, without checking for availability. It will periodically query the list of servers for changes in their baseDns.
    • Field Detail

      • PRIMARY_SERVERS

        public static final Option<Set<com.forgerock.opendj.util.HostPort>> PRIMARY_SERVERS
        Specifies a list of servers that will be used in preference to secondary servers when available.
      • SECONDARY_SERVERS

        public static final Option<Set<com.forgerock.opendj.util.HostPort>> SECONDARY_SERVERS
        Specifies a list of servers that will be used in place of primary servers when all primary servers are unavailable.
      • DISCOVERY_INTERVAL

        public static final Option<Duration> DISCOVERY_INTERVAL
        Interval between two replication server configuration discovery queries.

        Specifies how frequently to query a replication server configuration in order to discover information about available directory server replicas.

        Default value: 1m