/**
* Attempt leadership. This attempt is done in the background - i.e. this method returns
* immediately.<br><br>
* <b>IMPORTANT: </b> previous versions allowed this method to be called multiple times. This
* is no longer supported. Use {@link #requeue()} for this purpose.
*/publicvoidstart()
{
//省略参数校验
client.getConnectionStateListenable().addListener(listener); //监听连接状态改变
requeue(); //重新排队
}
NodeCache constructor/** 初始化参数 * @param client curztor client 客户端 * @param path the full path to the node to cache 节点路径 * @param dataIsCompressed if true, data in the path i