Package org.rcsb.strucmotif.core
Interface ThreadPool
- All Known Implementing Classes:
ThreadPoolImpl
public interface ThreadPool
An application-wide shared thread pool with a configurable number of threads. Will be used to operations that perform
on parallel streams.
-
Method Summary
-
Method Details
-
submit
Dispatch a Callable.- Type Parameters:
R- type- Parameters:
task- a callable- Returns:
- a Future aka promise
-