public class MembershipWaiter extends Object
To determine whether the member is sufficiently caught up, we check periodically how far behind we are,
once every maxCatchupLag. If the leader is always moving forwards we will never fully catch up,
so all we look for is that we have caught up with where the leader was the previous time
that we checked.
| Constructor and Description |
|---|
MembershipWaiter(MemberId myself,
org.neo4j.kernel.impl.util.JobScheduler jobScheduler,
Supplier<org.neo4j.kernel.internal.DatabaseHealth> dbHealthSupplier,
long maxCatchupLag,
org.neo4j.logging.LogProvider logProvider) |
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.