KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > util > concurrent > ExecutorService

java.util.concurrent
Interface ExecutorService

All Superinterfaces:
Executor
All Known Subinterfaces:
ScheduledExecutorService
All Known Implementing Classes:
AbstractExecutorService, ScheduledThreadPoolExecutor, ThreadPoolExecutor
See Also:
Top Examples, Executors.newFixedThreadPool(int), ExecutorCompletionService, Executor.execute(java.lang.Runnable), Future

boolean awaitTermination(long timeout,
                         TimeUnit unit)
                         throws InterruptedException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


<T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks)
                          throws InterruptedException
See Also:
RejectedExecutionException, NullPointerException, Future.isDone()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


<T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks,
                              long timeout,
                              TimeUnit unit)
                          throws InterruptedException
See Also:
RejectedExecutionException, NullPointerException, Future.isDone()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


<T> T invokeAny(Collection<Callable<T>> tasks)
            throws InterruptedException,
                   ExecutionException
See Also:
RejectedExecutionException, IllegalArgumentException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


<T> T invokeAny(Collection<Callable<T>> tasks,
                long timeout,
                TimeUnit unit)
            throws InterruptedException,
                   ExecutionException,
                   TimeoutException
See Also:
RejectedExecutionException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isShutdown()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isTerminated()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void shutdown()
See Also:
RuntimePermission, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


List<Runnable> shutdownNow()
See Also:
RuntimePermission, SecurityException, Thread.interrupt()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


Future<?> submit(Runnable task)
See Also:
NullPointerException, RejectedExecutionException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


<T> Future<T> submit(Runnable task,
                     T result)
See Also:
NullPointerException, RejectedExecutionException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


<T> Future<T> submit(Callable<T> task)
See Also:
NullPointerException, RejectedExecutionException, PrivilegedAction, Executors
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags