NetworkBehavior function ( Random arg0 ) { if ( arg0 == null ) throw new NullPointerException ( "srini_string" ) ; return new NetworkBehavior ( arg0 ) ; }
create an instance with default behavior which uses random to control variance andfailure calculation . concode_field_sep int DEFAULT_DELAY_MS concode_elem_sep long delayMs concode_elem_sep int DEFAULT_VARIANCE_PERCENT concode_elem_sep Random random concode_elem_sep int DEFAULT_FAILURE_PERCENT concode_elem_sep Throwable failureException concode_elem_sep int variancePercent concode_elem_sep int failurePercent concode_field_sep void setFailurePercent concode_elem_sep long delay concode_elem_sep int variancePercent concode_elem_sep boolean calculateIsFailure concode_elem_sep long calculateDelay concode_elem_sep int failurePercent concode_elem_sep Throwable failureException concode_elem_sep T applyBehavior concode_elem_sep void setDelay concode_elem_sep void setVariancePercent concode_elem_sep void setFailureException