@Override public <T> com.google.common.util.concurrent.ListenableFuture<T> submit(Runnable task, T result) { return new ListenableFuture<T>(delegate().submit(task, result)); } }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { return new ScheduledFuture(delegate().schedule(command, delay, unit)); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { return new ListenableScheduledFuture(delegate().schedule(command, delay, unit)); }
.modules(ImmutableList.<Module>of( new SLF4JLoggingModule(), new ExecutorServiceModule(executorService))) .overrides(properties); if (!Strings.isNullOrEmpty(endpoint)) {
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public ListenableFuture<?> submit(Runnable task) { return new ListenableFuture(delegate().submit(task)); }
@Override public <T> com.google.common.util.concurrent.ListenableFuture<T> submit(Runnable task, T result) { return new ListenableFuture<T>(delegate().submit(task, result)); } }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public ListenableFuture<?> submit(Runnable task) { return new ListenableFuture(delegate().submit(task)); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { return new ScheduledFuture(delegate().scheduleAtFixedRate(command, initialDelay, period, unit)); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ListenableScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { return new ListenableScheduledFuture(delegate().scheduleAtFixedRate(command, initialDelay, period, unit)); }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public com.google.common.util.concurrent.ListenableFuture<?> submit(Runnable task) { return new ListenableFuture(delegate().submit(task)); }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public ListenableFuture<?> submit(Runnable task) { return new ListenableFuture(delegate().submit(task)); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { return new ScheduledFuture(delegate().scheduleWithFixedDelay(command, initialDelay, delay, unit)); }
@Override public <T> com.google.common.util.concurrent.ListenableFuture<T> submit(Callable<T> task) { return new ListenableFuture<T>(delegate().submit(task)); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { return new ScheduledFuture(delegate().scheduleWithFixedDelay(command, initialDelay, delay, unit)); }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public com.google.common.util.concurrent.ListenableFuture<?> submit(Runnable task) { return new ListenableFuture(delegate().submit(task)); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { return new ScheduledFuture(delegate().schedule(command, delay, unit)); }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public com.google.common.util.concurrent.ListenableFuture<?> submit(Runnable task) { return new ListenableFuture(delegate().submit(task)); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @Override public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { return new ScheduledFuture(delegate().scheduleAtFixedRate(command, initialDelay, period, unit)); }
@Override public <T> com.google.common.util.concurrent.ListenableFuture<T> submit(Runnable task, T result) { return new ListenableFuture<T>(delegate().submit(task, result)); } }
@SuppressWarnings({ "unchecked", "rawtypes" }) @Override public com.google.common.util.concurrent.ListenableFuture<?> submit(Runnable task) { return new ListenableFuture(delegate().submit(task)); }