void function ( ZooKeeper arg0 , final String arg1 ) { PathUtils . validatePath ( arg1 ) ; List < String > loc0 = listSubTreeBFS ( arg0 , arg1 ) ; LOG . debug ( "srini_string" + loc0 ) ; LOG . debug ( "srini_string" + loc0 . size ( ) + "srini_string" ) ; for ( int loc1 = loc0 . size ( ) - 1 ; loc1 >= 0 ; -- loc1 ) { arg0 . delete ( loc0 . get ( loc1 ) , - 1 ) ; } }
recursively delete the node with the given path . important : all versions , of all nodes , under the given node are deleted . if there is an error with deleting one of the sub-nodes in the tree , this operation would abort and would be the responsibility of the app to handle the same . see #delete string , int for more details . concode_field_sep Logger LOG concode_field_sep List<String> listSubTreeBFS concode_elem_sep void visitSubTreeDFSHelper concode_elem_sep void visitSubTreeDFS