org.oddjob.scheduling
Class TrackingServices

java.lang.Object
  extended by org.oddjob.scheduling.TrackingServices
All Implemented Interfaces:
OddjobExecutors

public class TrackingServices
extends Object
implements OddjobExecutors


Constructor Summary
TrackingServices(int poolSize)
           
 
Method Summary
 ExecutorService getPoolExecutor()
          Provide a ExecutorService.
 ScheduledExecutorService getScheduledExecutor()
          Provide a ScheduledExecutorService.
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackingServices

public TrackingServices(int poolSize)
Method Detail

getPoolExecutor

public ExecutorService getPoolExecutor()
Description copied from interface: OddjobExecutors
Provide a ExecutorService. Implementations are free to use OddjobExecutors.getScheduledExecutor() for this, or provide something different.

Specified by:
getPoolExecutor in interface OddjobExecutors
Returns:
An ExecutorService. Never null.

getScheduledExecutor

public ScheduledExecutorService getScheduledExecutor()
Description copied from interface: OddjobExecutors
Provide a ScheduledExecutorService.

Specified by:
getScheduledExecutor in interface OddjobExecutors
Returns:
A ScheduledExecutorService. Never null.

stop

public void stop()
          throws InterruptedException
Throws:
InterruptedException