Package org.oddjob.scheduling
Class TrackingServices
java.lang.Object
org.oddjob.scheduling.TrackingServices
- All Implemented Interfaces:
OddjobExecutors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvide aExecutorService.Provide aScheduledExecutorService.voidstop()
-
Constructor Details
-
TrackingServices
public TrackingServices(int poolSize)
-
-
Method Details
-
getPoolExecutor
Description copied from interface:OddjobExecutorsProvide aExecutorService. Implementations are free to useOddjobExecutors.getScheduledExecutor()for this, or provide something different.- Specified by:
getPoolExecutorin interfaceOddjobExecutors- Returns:
- An ExecutorService. Never null.
-
getScheduledExecutor
Description copied from interface:OddjobExecutorsProvide aScheduledExecutorService.- Specified by:
getScheduledExecutorin interfaceOddjobExecutors- Returns:
- A ScheduledExecutorService. Never null.
-
stop
- Throws:
InterruptedException
-