public boolean isEmpty() { return myGeneralRunner.isEmpty(); }
public void onCancel() { myGeneralRunner.onCancel(); }
public void cancelCurrent() { myGeneralRunner.cancelCurrent(); }
public void add(List<TaskDescriptor> list) { myGeneralRunner.next(list); }
public void clearQueue() { myGeneralRunner.cancelEverything(); }
public void resume() { myGeneralRunner.ping(); }
public <T extends Exception> void addExceptionHandler( final Class<T> clazz, final Consumer<T> consumer) { myGeneralRunner.addExceptionHandler(clazz, consumer); }
public void run(final List<TaskDescriptor> tasks) { if (tasks.isEmpty()) return; myGeneralRunner.next(tasks); myGeneralRunner.ping(); }
public void run(final TaskDescriptor... tasks) { if (tasks.length == 0) return; myGeneralRunner.next(tasks); myGeneralRunner.ping(); }