final class SingleThreadScheduler
extends java.lang.Object
ParallelComputerBuilder
Modifier and Type | Field and Description |
---|---|
private ConsoleStream |
logger |
private Scheduler |
master |
private java.util.concurrent.ExecutorService |
pool |
Constructor and Description |
---|
SingleThreadScheduler(ConsoleStream logger) |
Modifier and Type | Method and Description |
---|---|
private java.util.Collection<org.junit.runner.Description> |
copyExisting(java.util.Collection<org.junit.runner.Description> descriptions) |
(package private) ShutdownResult |
describeStopped(boolean shutdownNow) |
private static java.util.concurrent.ExecutorService |
newPool() |
(package private) org.junit.runners.model.RunnerScheduler |
newRunnerScheduler() |
(package private) boolean |
shutdownThreadPoolsAwaitingKilled() |
private final ConsoleStream logger
private final java.util.concurrent.ExecutorService pool
private final Scheduler master
SingleThreadScheduler(ConsoleStream logger)
private static java.util.concurrent.ExecutorService newPool()
org.junit.runners.model.RunnerScheduler newRunnerScheduler()
ShutdownResult describeStopped(boolean shutdownNow)
Scheduler.describeStopped(boolean)
boolean shutdownThreadPoolsAwaitingKilled()
private java.util.Collection<org.junit.runner.Description> copyExisting(java.util.Collection<org.junit.runner.Description> descriptions)