- <init>
Constructor. Set the core pool size to 4 by default.
- createExecutorService
Creates a new JDK executor service that will be wrapped. By default it calls
Executors#newCachedThre
- createThreadFactory
Creates a new thread factory that will properly name the Restlet created threads
with a "restlet-" p
- getWrapped
Returns the wrapped JDK executor service.
- isShutdownAllowed
Indicates if the #shutdown() and #shutdownNow() methods are allowed to
effectively shutdown the wrap
- setWrapped
Sets the wrapped JDK executor service.
- start
- wrap
Wraps a JDK executor service to ensure that the threads executing the tasks will
have the thread loc
- execute
Executes the given command asynchronously.
- getCorePoolSize
Returns the core pool size defining the maximum number of threads.
- startIfNeeded
Starts the task service if needed.
- stop