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

org.apache.zookeeper.server.watch

## Class WatcherOrBitSet

- java.lang.Object
- - org.apache.zookeeper.server.watch.WatcherOrBitSet

-     public class WatcherOrBitSet
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WatcherOrBitSet(BitHashSet watcherBits)`
    `WatcherOrBitSet(Set<Watcher> watchers)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `contains(int watcherBit)`
    `boolean` | `contains(Watcher watcher)`
    `int` | `size()`

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

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

- - ### Constructor Detail

    - #### WatcherOrBitSet

          public WatcherOrBitSet(Set<Watcher> watchers)

    - #### WatcherOrBitSet

          public WatcherOrBitSet(BitHashSet watcherBits)

  - ### Method Detail

    - #### contains

          public boolean contains(Watcher watcher)

    - #### contains

          public boolean contains(int watcherBit)

    - #### size

          public int size()

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