Package | Description |
---|---|
org.apache.maven.surefire.junitcore.pc |
Modifier and Type | Method and Description |
---|---|
static SchedulingStrategy |
SchedulingStrategies.createInvokerStrategy(ConsoleStream logger) |
static SchedulingStrategy |
SchedulingStrategies.createParallelSharedStrategy(ConsoleStream logger,
ExecutorService threadPool)
The threadPool passed to this strategy can be shared in other strategies.
|
static SchedulingStrategy |
SchedulingStrategies.createParallelStrategy(ConsoleStream logger,
int nThreads) |
static SchedulingStrategy |
SchedulingStrategies.createParallelStrategyUnbounded(ConsoleStream logger) |
Constructor and Description |
---|
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
Scheduler masterScheduler,
SchedulingStrategy strategy)
Should be used with individual pools on suites, classes and methods, see
ParallelComputerBuilder.useSeparatePools() . |
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
Scheduler masterScheduler,
SchedulingStrategy strategy,
Balancer balancer)
Can be used by e.g.
|
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
Scheduler masterScheduler,
SchedulingStrategy strategy,
int concurrency) |
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
SchedulingStrategy strategy)
Use e.g.
|
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
SchedulingStrategy strategy,
Balancer balancer)
New instances should be used by schedulers with limited concurrency by balancer
against other groups of schedulers.
|
Scheduler(ConsoleStream logger,
org.junit.runner.Description description,
SchedulingStrategy strategy,
int concurrency)
Should be used if schedulers in parallel children and parent use one instance of bounded thread pool.
|
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.