class OrderedScheduler.OrderedSchedulerDecoratedThread
extends com.google.common.util.concurrent.ForwardingListeningExecutorService
implements com.google.common.util.concurrent.ListeningScheduledExecutorService
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.util.concurrent.ListeningExecutorService |
delegate() |
void |
execute(java.lang.Runnable command) |
<T> java.util.List<java.util.concurrent.Future<T>> |
invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks) |
<T> java.util.List<java.util.concurrent.Future<T>> |
invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks,
long timeout,
java.util.concurrent.TimeUnit unit) |
<T> T |
invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks) |
<T> T |
invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks,
long timeout,
java.util.concurrent.TimeUnit unit) |
<V> com.google.common.util.concurrent.ListenableScheduledFuture<V> |
schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit) |
com.google.common.util.concurrent.ListenableScheduledFuture<?> |
schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit) |
com.google.common.util.concurrent.ListenableScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
com.google.common.util.concurrent.ListenableScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit) |
<T> com.google.common.util.concurrent.ListenableFuture<T> |
submit(java.util.concurrent.Callable<T> task) |
com.google.common.util.concurrent.ListenableFuture<?> |
submit(java.lang.Runnable task) |
<T> com.google.common.util.concurrent.ListenableFuture<T> |
submit(java.lang.Runnable task,
T result) |
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNowclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected com.google.common.util.concurrent.ListeningExecutorService delegate()
delegate in class com.google.common.util.concurrent.ForwardingListeningExecutorServicepublic com.google.common.util.concurrent.ListenableScheduledFuture<?> schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit)
schedule in interface com.google.common.util.concurrent.ListeningScheduledExecutorServiceschedule in interface java.util.concurrent.ScheduledExecutorServicepublic <V> com.google.common.util.concurrent.ListenableScheduledFuture<V> schedule(java.util.concurrent.Callable<V> callable,
long delay,
java.util.concurrent.TimeUnit unit)
schedule in interface com.google.common.util.concurrent.ListeningScheduledExecutorServiceschedule in interface java.util.concurrent.ScheduledExecutorServicepublic com.google.common.util.concurrent.ListenableScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate in interface com.google.common.util.concurrent.ListeningScheduledExecutorServicescheduleAtFixedRate in interface java.util.concurrent.ScheduledExecutorServicepublic com.google.common.util.concurrent.ListenableScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit)
scheduleWithFixedDelay in interface com.google.common.util.concurrent.ListeningScheduledExecutorServicescheduleWithFixedDelay in interface java.util.concurrent.ScheduledExecutorServicepublic <T> com.google.common.util.concurrent.ListenableFuture<T> submit(java.util.concurrent.Callable<T> task)
submit in interface com.google.common.util.concurrent.ListeningExecutorServicesubmit in interface java.util.concurrent.ExecutorServicesubmit in class com.google.common.util.concurrent.ForwardingListeningExecutorServicepublic com.google.common.util.concurrent.ListenableFuture<?> submit(java.lang.Runnable task)
submit in interface com.google.common.util.concurrent.ListeningExecutorServicesubmit in interface java.util.concurrent.ExecutorServicesubmit in class com.google.common.util.concurrent.ForwardingListeningExecutorServicepublic <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks)
throws java.lang.InterruptedException
invokeAll in interface com.google.common.util.concurrent.ListeningExecutorServiceinvokeAll in interface java.util.concurrent.ExecutorServiceinvokeAll in class com.google.common.util.concurrent.ForwardingExecutorServicejava.lang.InterruptedExceptionpublic <T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks,
long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
invokeAll in interface com.google.common.util.concurrent.ListeningExecutorServiceinvokeAll in interface java.util.concurrent.ExecutorServiceinvokeAll in class com.google.common.util.concurrent.ForwardingExecutorServicejava.lang.InterruptedExceptionpublic <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
invokeAny in interface java.util.concurrent.ExecutorServiceinvokeAny in class com.google.common.util.concurrent.ForwardingExecutorServicejava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic <T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> tasks,
long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException,
java.util.concurrent.TimeoutException
invokeAny in interface java.util.concurrent.ExecutorServiceinvokeAny in class com.google.common.util.concurrent.ForwardingExecutorServicejava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.util.concurrent.TimeoutExceptionpublic <T> com.google.common.util.concurrent.ListenableFuture<T> submit(java.lang.Runnable task,
T result)
submit in interface com.google.common.util.concurrent.ListeningExecutorServicesubmit in interface java.util.concurrent.ExecutorServicesubmit in class com.google.common.util.concurrent.ForwardingListeningExecutorServicepublic void execute(java.lang.Runnable command)
execute in interface java.util.concurrent.Executorexecute in class com.google.common.util.concurrent.ForwardingExecutorServiceCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.