Package javascalautils.concurrent
Interface ExecutorProvider
-
public interface ExecutorProvider
Allows for creating a customExecutor
forExecutors.getDefault()
.
This is done by creating a class that implements this interface and then set the fully qualified class name in the system property javascalautils.concurrent.executorprovider.
The implementing class must:- be declared public
- have a public (default) non-argument constructor
Executors
as the default pool is then created.- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Executor
create()
Used to create the defaultExecutor
instance.
-