SyncedLearnerTracker (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server.quorum

## Class SyncedLearnerTracker

- java.lang.Object
- - org.apache.zookeeper.server.quorum.SyncedLearnerTracker

- Direct Known Subclasses:
    Leader.Proposal

      public class SyncedLearnerTracker
      extends Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SyncedLearnerTracker.QuorumVerifierAcksetPair`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ArrayList<SyncedLearnerTracker.QuorumVerifierAcksetPair>` | `qvAcksetPairs`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SyncedLearnerTracker()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `ackSetsToString()`
    `boolean` | `addAck(Long sid)`
    `void` | `addQuorumVerifier(QuorumVerifier qv)`
    `boolean` | `hasAllQuorums()`
    `boolean` | `hasSid(long sid)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### qvAcksetPairs

          protected ArrayList<SyncedLearnerTracker.QuorumVerifierAcksetPair> qvAcksetPairs

  - ### Constructor Detail

    - #### SyncedLearnerTracker

          public SyncedLearnerTracker()

  - ### Method Detail

    - #### addQuorumVerifier

          public void addQuorumVerifier(QuorumVerifier qv)

    - #### addAck

          public boolean addAck(Long sid)

    - #### hasSid

          public boolean hasSid(long sid)

    - #### hasAllQuorums

          public boolean hasAllQuorums()

    - #### ackSetsToString

          public String ackSetsToString()

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.