Package org.apache.pekko.dispatch
Interface ExecutorServiceDelegate
-
- All Superinterfaces:
java.util.concurrent.Executor
,java.util.concurrent.ExecutorService
public interface ExecutorServiceDelegate extends java.util.concurrent.ExecutorService
As the name says
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
awaitTermination(long l, java.util.concurrent.TimeUnit timeUnit)
void
execute(java.lang.Runnable command)
java.util.concurrent.ExecutorService
executor()
<T> java.util.List<java.util.concurrent.Future<T>>
invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables)
<T> java.util.List<java.util.concurrent.Future<T>>
invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables, long l, java.util.concurrent.TimeUnit timeUnit)
<T> T
invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables)
<T> T
invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables, long l, java.util.concurrent.TimeUnit timeUnit)
boolean
isShutdown()
boolean
isTerminated()
void
shutdown()
java.util.List<java.lang.Runnable>
shutdownNow()
java.util.concurrent.Future<?>
submit(java.lang.Runnable runnable)
<T> java.util.concurrent.Future<T>
submit(java.lang.Runnable runnable, T t)
<T> java.util.concurrent.Future<T>
submit(java.util.concurrent.Callable<T> callable)
-
-
-
Method Detail
-
awaitTermination
boolean awaitTermination(long l, java.util.concurrent.TimeUnit timeUnit)
- Specified by:
awaitTermination
in interfacejava.util.concurrent.ExecutorService
-
execute
void execute(java.lang.Runnable command)
- Specified by:
execute
in interfacejava.util.concurrent.Executor
-
executor
java.util.concurrent.ExecutorService executor()
-
invokeAll
<T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables)
- Specified by:
invokeAll
in interfacejava.util.concurrent.ExecutorService
-
invokeAll
<T> java.util.List<java.util.concurrent.Future<T>> invokeAll(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables, long l, java.util.concurrent.TimeUnit timeUnit)
- Specified by:
invokeAll
in interfacejava.util.concurrent.ExecutorService
-
invokeAny
<T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables)
- Specified by:
invokeAny
in interfacejava.util.concurrent.ExecutorService
-
invokeAny
<T> T invokeAny(java.util.Collection<? extends java.util.concurrent.Callable<T>> callables, long l, java.util.concurrent.TimeUnit timeUnit)
- Specified by:
invokeAny
in interfacejava.util.concurrent.ExecutorService
-
isShutdown
boolean isShutdown()
- Specified by:
isShutdown
in interfacejava.util.concurrent.ExecutorService
-
isTerminated
boolean isTerminated()
- Specified by:
isTerminated
in interfacejava.util.concurrent.ExecutorService
-
shutdown
void shutdown()
- Specified by:
shutdown
in interfacejava.util.concurrent.ExecutorService
-
shutdownNow
java.util.List<java.lang.Runnable> shutdownNow()
- Specified by:
shutdownNow
in interfacejava.util.concurrent.ExecutorService
-
submit
<T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T> callable)
- Specified by:
submit
in interfacejava.util.concurrent.ExecutorService
-
submit
<T> java.util.concurrent.Future<T> submit(java.lang.Runnable runnable, T t)
- Specified by:
submit
in interfacejava.util.concurrent.ExecutorService
-
submit
java.util.concurrent.Future<?> submit(java.lang.Runnable runnable)
- Specified by:
submit
in interfacejava.util.concurrent.ExecutorService
-
-