returns a zookeeper session . calls should be made within run of zoorunnable after caches are checked . this will be performed at each retry of the run method . calls to #getzookeeper should be made , ideally , after cache checks since other threads may have succeeded when updating the cache . doingthis will ensure that we do n't pay the cost of retrieving a zookeeper session on each retry until we 've ensured the caches are n't populated for a given node . concode_field_sep Logger log concode_elem_sep HashMap<String,byte[]> cache concode_elem_sep Watcher externalWatcher concode_elem_sep Lock cacheWriteLock concode_elem_sep Lock cacheReadLock concode_elem_sep HashMap<String,List<String>> childrenCache concode_elem_sep ReadWriteLock cacheLock concode_elem_sep HashMap<String,Stat> statCache concode_elem_sep ZCacheWatcher watcher concode_elem_sep ZooReader zReader concode_field_sep List<String> getChildren concode_elem_sep boolean dataCached concode_elem_sep void process concode_elem_sep byte[] get concode_elem_sep byte[] get concode_elem_sep void clear concode_elem_sep void clear concode_elem_sep T run concode_elem_sep T retry concode_elem_sep void put concode_elem_sep void remove concode_elem_sep boolean childrenCached concode_elem_sep void copyStats
ZooKeeper function ( ) { return zReader . getZooKeeper ( ) ; }