public void close ( ) { if ( zooKeeper != null ) { try { zooKeeper . close ( ) ; } catch ( InterruptedException e ) { LOG . error ( "Interrupt when closing zookeeper connection" , e ) ; } } }
Close the ZooKeeper object .