closes this taskscheduler , ensuring that new tasks can not be created and cancelling existing tasks . concode_field_sep Cache<K,CancellableTask<K,T>> cancellableTaskMap concode_elem_sep boolean isStarted concode_field_sep Iterable<T> getScheduledTasks concode_elem_sep boolean cancel concode_elem_sep void closeImpl concode_elem_sep void schedule concode_elem_sep void startImpl concode_elem_sep Optional<T> getScheduledTask concode_elem_sep CancellableTask<K,T> scheduleImpl concode_elem_sep void start
void function ( ) { if ( this . isStarted ) { this . isStarted = false ; this . closeImpl ( ) ; } }