Listens for ZooKeeper events related to the master address. The node /master
will contain the address of the current master. This listener is interested in NodeDeleted
and NodeCreated
events on /master
.
Utilizes {@link ZooKeeperNodeTracker} for zk interactions.
You can get the current master via {@link #getMasterAddress()}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|