public class TrackingServices extends java.lang.Object implements OddjobExecutors
Constructor and Description |
---|
TrackingServices(int poolSize) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.ExecutorService |
getPoolExecutor()
Provide a
ExecutorService . |
java.util.concurrent.ScheduledExecutorService |
getScheduledExecutor()
Provide a
ScheduledExecutorService . |
void |
stop() |
public java.util.concurrent.ExecutorService getPoolExecutor()
OddjobExecutors
ExecutorService
. Implementations are free to
use OddjobExecutors.getScheduledExecutor()
for this, or provide
something different.getPoolExecutor
in interface OddjobExecutors
public java.util.concurrent.ScheduledExecutorService getScheduledExecutor()
OddjobExecutors
ScheduledExecutorService
.getScheduledExecutor
in interface OddjobExecutors
public void stop() throws java.lang.InterruptedException
java.lang.InterruptedException