Class Auditor

java.lang.Object
org.apache.bookkeeper.replication.Auditor
All Implemented Interfaces:
AutoCloseable

public class Auditor extends Object implements AutoCloseable
Auditor is a single entity in the entire Bookie cluster and will be watching all the bookies under 'ledgerrootpath/available' zkpath. When any of the bookie failed or disconnected from zk, he will start initiating the re-replication activities by keeping all the corresponding ledgers of the failed bookie as underreplicated znode in zk.

TODO: eliminate the direct usage of zookeeper here {@link https://github.com/apache/bookkeeper/issues/1332}