/** * Delete the node if the node exists * @param path node path */ public void deleteIfExists(String path) { try { if(checkExists(path)){ delete(path); } } catch (Exception e){ handleConnectionLoss(e); throw new ZkException(e); } }
/** * Delete the node if the node exists * @param path node path */ public void deleteIfExists(String path) { try { if(checkExists(path)){ delete(path); } } catch (Exception e){ handleConnectionLoss(e); throw new ZkException(e); } }