@ Override public void deleteWithChildren ( String path ) throws InterruptedException , KeeperException { List < String > allChildren = findAllChildren ( path ) ; for ( String child : allChildren ) { delete ( PathUtils . addPaths ( path , child ) ) ; } delete ( path ) ; }
delete all the children if they exist