Class MultimasterReplication.UnreachableReplicationServers
- java.lang.Object
-
- org.opends.server.replication.plugin.MultimasterReplication.UnreachableReplicationServers
-
- Enclosing class:
- MultimasterReplication
public static class MultimasterReplication.UnreachableReplicationServers extends Object
Keeps information on temporarily unreachable replication unreachableServers. RSes in the list will be deleted after an interval, depending on the number of configured replication unreachableServers, from the time the last server has been added. It guarantees the replication server, if any, will not timeout twice on the same RS while connecting to other RSes, blocking new incoming connections for too long (seeReplicationServerrunConnectand how it updatesdomainTicket). A Data Server will use this information but not update it, since it can simply try the next in its list; once it is connected, it will recalculate the best server and reconnect if necessary.
-
-
Constructor Summary
Constructors Constructor Description UnreachableReplicationServers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddServer(com.forgerock.opendj.util.HostPort server)Add a server to the set of temporarily unreachable unreachableServers.booleanisUnreachable(com.forgerock.opendj.util.HostPort server)Returnstrueif the provided server is temporarily unreachable.StringtoString()
-
-
-
Method Detail
-
addServer
public void addServer(com.forgerock.opendj.util.HostPort server)
Add a server to the set of temporarily unreachable unreachableServers.- Parameters:
server- the server to add
-
isUnreachable
public boolean isUnreachable(com.forgerock.opendj.util.HostPort server)
Returnstrueif the provided server is temporarily unreachable.- Parameters:
server- the server to check- Returns:
trueif the provided server is temporarily unreachable
-
-