public Cancellable schedule(long time, TimeUnit unit, Runnable runnable) { return _timerScheduler.schedule(time, unit, runnable); }
@Override public Cancellable schedule(final long delay, final TimeUnit unit, final Runnable command) { final IndirectRunnable indirectRunnable = new IndirectRunnable(command); final Cancellable cancellable = _executor.schedule(delay, unit, indirectRunnable); return new IndirectCancellable(cancellable, indirectRunnable); }
public Cancellable schedule(long time, TimeUnit unit, Runnable runnable) { return _timerScheduler.schedule(time, unit, runnable); }
@Override public Cancellable schedule(final long delay, final TimeUnit unit, final Runnable command) { final IndirectRunnable indirectRunnable = new IndirectRunnable(command); final Cancellable cancellable = _executor.schedule(delay, unit, indirectRunnable); return new IndirectCancellable(cancellable, indirectRunnable); }