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, stopNow
canSchedule, disable, logQuietly
NonSharedThreadPoolStrategy(ConsoleLogger logger, java.util.concurrent.ExecutorService threadPool)
public boolean hasSharedThreadPool()
hasSharedThreadPool
in class SchedulingStrategy
public boolean finished() throws java.lang.InterruptedException
SchedulingStrategy
finished
in class SchedulingStrategy
java.lang.InterruptedException
- if interrupted while waiting
for scheduled tasks to finishRunnerScheduler.finished()