Class BookieWatcherImpl

  • All Implemented Interfaces:
    BookieWatcher

    @StatsDoc(name="bookie_watcher",
              help="Bookie watcher related stats")
    class BookieWatcherImpl
    extends java.lang.Object
    implements BookieWatcher
    This class is responsible for maintaining a consistent view of what bookies are available by reading Zookeeper (and setting watches on the bookie nodes). When a bookie fails, the other parts of the code turn to this class to find a replacement