Uses of Class
org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
-
Packages that use SchedulingStrategy Package Description org.apache.maven.surefire.junitcore.pc -
-
Uses of SchedulingStrategy in org.apache.maven.surefire.junitcore.pc
Methods in org.apache.maven.surefire.junitcore.pc that return SchedulingStrategy Modifier and Type Method Description static SchedulingStrategy
SchedulingStrategies. createInvokerStrategy(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger)
static SchedulingStrategy
SchedulingStrategies. createParallelSharedStrategy(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger, ExecutorService threadPool)
ThethreadPool
passed to this strategy can be shared in other strategies.static SchedulingStrategy
SchedulingStrategies. createParallelStrategy(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger, int nThreads)
static SchedulingStrategy
SchedulingStrategies. createParallelStrategyUnbounded(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger)
Constructors in org.apache.maven.surefire.junitcore.pc with parameters of type SchedulingStrategy Constructor Description Scheduler(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger, org.junit.runner.Description description, Scheduler masterScheduler, SchedulingStrategy strategy)
Should be used with individual pools on suites, classes and methods, seeParallelComputerBuilder.useSeparatePools()
.Scheduler(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger, org.junit.runner.Description description, Scheduler masterScheduler, SchedulingStrategy strategy, int concurrency)
Scheduler(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger, org.junit.runner.Description description, Scheduler masterScheduler, SchedulingStrategy strategy, Balancer balancer)
Can be used by e.g.Scheduler(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger, org.junit.runner.Description description, SchedulingStrategy strategy)
Use e.g.Scheduler(org.apache.maven.plugin.surefire.log.api.ConsoleLogger 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.Scheduler(org.apache.maven.plugin.surefire.log.api.ConsoleLogger logger, org.junit.runner.Description description, SchedulingStrategy strategy, Balancer balancer)
New instances should be used by schedulers with limited concurrency bybalancer
against other groups of schedulers.
-