Package org.apache.sling.commons.threads
Interface ThreadPool
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThreadPoolConfiggetConfiguration()The thread pool configuration.StringgetName()The name of the thread pool.Future<?>submit(Runnable runnable)Submits a runnable for execution<T> Future<T>submit(Callable<T> callable)Submits a callable for execution
-
-
-
Method Detail
-
getName
String getName()
The name of the thread pool.- Returns:
- The thread pool name.
-
getConfiguration
ThreadPoolConfig getConfiguration()
The thread pool configuration.- Returns:
- The thread pool configuration
-
-