Klasse DelegatingExecutorService
java.lang.Object
org.eclipse.net4j.util.concurrent.DelegatingExecutorService
- Alle implementierten Schnittstellen:
AutoCloseable
,Executor
,ExecutorService
- Seit:
- 3.6
- Autor:
- Eike Stepper
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
awaitTermination
(long timeout, TimeUnit unit) void
invokeAll
(Collection<? extends Callable<T>> tasks) invokeAll
(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) <T> T
invokeAny
(Collection<? extends Callable<T>> tasks) <T> T
invokeAny
(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) boolean
boolean
void
shutdown()
Future
<?> <T> Future
<T> <T> Future
<T> Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden java.util.concurrent.ExecutorService
close
-
Konstruktordetails
-
DelegatingExecutorService
-
-
Methodendetails
-
execute
-
shutdown
public void shutdown()- Angegeben von:
shutdown
in SchnittstelleExecutorService
-
shutdownNow
- Angegeben von:
shutdownNow
in SchnittstelleExecutorService
-
isShutdown
public boolean isShutdown()- Angegeben von:
isShutdown
in SchnittstelleExecutorService
-
isTerminated
public boolean isTerminated()- Angegeben von:
isTerminated
in SchnittstelleExecutorService
-
awaitTermination
- Angegeben von:
awaitTermination
in SchnittstelleExecutorService
- Löst aus:
InterruptedException
-
submit
- Angegeben von:
submit
in SchnittstelleExecutorService
-
submit
- Angegeben von:
submit
in SchnittstelleExecutorService
-
submit
- Angegeben von:
submit
in SchnittstelleExecutorService
-
invokeAll
public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException - Angegeben von:
invokeAll
in SchnittstelleExecutorService
- Löst aus:
InterruptedException
-
invokeAll
public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException - Angegeben von:
invokeAll
in SchnittstelleExecutorService
- Löst aus:
InterruptedException
-
invokeAny
public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws InterruptedException, ExecutionException - Angegeben von:
invokeAny
in SchnittstelleExecutorService
- Löst aus:
InterruptedException
ExecutionException
-
invokeAny
public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Angegeben von:
invokeAny
in SchnittstelleExecutorService
- Löst aus:
InterruptedException
ExecutionException
TimeoutException
-