handle the execution result with the provided consumers concode_field_sep Map<T,TaskResult> executionResults concode_elem_sep TaskResult SUCCESS concode_elem_sep ClusterState resultingState concode_elem_sep Throwable failure concode_elem_sep Map<T,TaskResult> executionResults concode_field_sep Builder<T> result concode_elem_sep Builder<T> failures concode_elem_sep Builder<T> successes concode_elem_sep BatchResult<T> build concode_elem_sep Builder<T> success concode_elem_sep TaskResult success concode_elem_sep Builder<T> failure concode_elem_sep TaskResult failure concode_elem_sep Builder<T> builder concode_elem_sep BatchResult<T> execute concode_elem_sep Throwable getFailure concode_elem_sep boolean runOnlyOnMaster concode_elem_sep void clusterStatePublished concode_elem_sep boolean isSuccess
void function ( Runnable arg0 , Consumer < Throwable > arg1 ) { if ( failure == null ) { arg0 . run ( ) ; } else { arg1 . accept ( failure ) ; } }