final class NonSharedThreadPoolStrategy extends AbstractThreadPoolStrategy
AbstractThreadPoolStrategy| Constructor and Description |
|---|
NonSharedThreadPoolStrategy(ConsoleLogger logger,
java.util.concurrent.ExecutorService threadPool) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
finished()
Waiting for scheduled tasks to finish.
|
boolean |
hasSharedThreadPool() |
destroy, getFutureResults, getThreadPool, schedule, setDefaultShutdownHandler, stop, stopNowcanSchedule, disable, logQuietlyNonSharedThreadPoolStrategy(ConsoleLogger logger, java.util.concurrent.ExecutorService threadPool)
public boolean hasSharedThreadPool()
hasSharedThreadPool in class SchedulingStrategypublic boolean finished()
throws java.lang.InterruptedException
SchedulingStrategyfinished in class SchedulingStrategyjava.lang.InterruptedException - if interrupted while waiting
for scheduled tasks to finishRunnerScheduler.finished()