String function ( String arg0 ) { if ( ! Strings . isNullOrEmpty ( arg0 ) ) return arg0 . substring ( arg0 . lastIndexOf ( "srini_string" ) + 1 ) ; return null ; }
static method that helps parse the processorid substring from the zk path processor id is prefixed by `` processor - '' and is an leaf node in zk tree . hence , this pattern is used to extract the processorid . concode_field_sep String JOBMODEL_GENERATION_PATH concode_elem_sep String PROCESSORS_PATH concode_elem_sep String pathPrefix concode_elem_sep String JOB_MODEL_UPGRADE_BARRIER concode_field_sep String getJobModelPath concode_elem_sep String getProcessorsPath concode_elem_sep String getJobModelVersionBarrierPrefix concode_elem_sep String getRootPath concode_elem_sep String getJobModelVersionPath concode_elem_sep String getJobModelPathPrefix