void function ( ) { if ( status != Status . RUNNING ) throw new IllegalStateException ( "srini_string" + Status . SUCCESSFUL + "srini_string" + status ) ; status = Status . SUCCESSFUL ; markFinishedTime ( ) ; }
method marksuccessful sets the status to successful . concode_field_sep Throwable throwable concode_elem_sep Status status concode_elem_sep long finishedTime concode_elem_sep long startTime concode_field_sep void markRunning concode_elem_sep boolean isStopped concode_elem_sep boolean isFailed concode_elem_sep void markFailed concode_elem_sep void markStartTime concode_elem_sep boolean isFinished concode_elem_sep boolean isPending concode_elem_sep String getStatsString concode_elem_sep void markStopped concode_elem_sep boolean isSuccessful concode_elem_sep void markFinishedTime concode_elem_sep long getDuration concode_elem_sep boolean isRunning concode_elem_sep String toString