int function ( String arg0 ) { checkNotNull ( arg0 , "srini_string" ) ; Stat loc0 = client . checkExists ( ) . forPath ( arg0 ) ; if ( loc0 != null ) { return loc0 . getVersion ( ) ; } return - 1 ; }
returns the version of the node if it exists or -1 if it does n't . concode_field_sep Logger LOG concode_elem_sep CuratorFramework client concode_elem_sep StateStorageHelper<T> storage concode_field_sep StateHandle<T> add concode_elem_sep StateHandle<T> add concode_elem_sep void removeAndDiscardState concode_elem_sep List<Tuple2<StateHandle<T>,String>> getAll concode_elem_sep List<Tuple2<StateHandle<T>,String>> getAllSortedByName concode_elem_sep StateHandle<T> get concode_elem_sep void replace concode_elem_sep void removeAndDiscardAllState concode_elem_sep void remove concode_elem_sep void remove