public interface ThreadPool
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.lang.Runnable runnable)
Execute a runnable
|
ThreadPoolConfig |
getConfiguration()
The thread pool configuration.
|
java.lang.String |
getName()
The name of the thread pool.
|
<T> java.util.concurrent.Future<T> |
submit(java.util.concurrent.Callable<T> callable)
Submits a callable for execution
|
java.util.concurrent.Future<?> |
submit(java.lang.Runnable runnable)
Submits a runnable for execution
|
void execute(java.lang.Runnable runnable)
runnable - The Runnable to execute<T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T> callable)
callable - The Callable to submitFuture representing pending completion of the Callablejava.util.concurrent.Future<?> submit(java.lang.Runnable runnable)
runnable - The Runnable to submitFuture representing pending completion of the Runnablejava.lang.String getName()
ThreadPoolConfig getConfiguration()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"