Package javascalautils.concurrent
Interface ExecutorProvider
-
public interface ExecutorProviderAllows for creating a customExecutorforExecutors.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
Executorsas the default pool is then created.- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Executorcreate()Used to create the defaultExecutorinstance.
-