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
Subclasses of SchedulingStrategy in org.apache.maven.surefire.junitcore.pc Modifier and Type Class Description (package private) classAbstractThreadPoolStrategyAbstract parallel scheduling strategy in private package.(package private) classInvokerStrategyThe sequentially executing strategy in private package.(package private) classNonSharedThreadPoolStrategyParallel strategy for non-shared thread pool in private package.(package private) classSharedThreadPoolStrategyParallel strategy for shared thread pool in private package.Fields in org.apache.maven.surefire.junitcore.pc declared as SchedulingStrategy Modifier and Type Field Description private SchedulingStrategyScheduler. strategyMethods in org.apache.maven.surefire.junitcore.pc that return SchedulingStrategy Modifier and Type Method Description static SchedulingStrategySchedulingStrategies. createInvokerStrategy(ConsoleLogger logger)static SchedulingStrategySchedulingStrategies. createParallelSharedStrategy(ConsoleLogger logger, java.util.concurrent.ExecutorService threadPool)ThethreadPoolpassed to this strategy can be shared in other strategies.static SchedulingStrategySchedulingStrategies. createParallelStrategy(ConsoleLogger logger, int nThreads)static SchedulingStrategySchedulingStrategies. createParallelStrategyUnbounded(ConsoleLogger logger)Constructors in org.apache.maven.surefire.junitcore.pc with parameters of type SchedulingStrategy Constructor Description Scheduler(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(ConsoleLogger logger, org.junit.runner.Description description, Scheduler masterScheduler, SchedulingStrategy strategy, int concurrency)Scheduler(ConsoleLogger logger, org.junit.runner.Description description, Scheduler masterScheduler, SchedulingStrategy strategy, Balancer balancer)Can be used by e.g.Scheduler(ConsoleLogger logger, org.junit.runner.Description description, SchedulingStrategy strategy)Use e.g.Scheduler(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(ConsoleLogger logger, org.junit.runner.Description description, SchedulingStrategy strategy, Balancer balancer)New instances should be used by schedulers with limited concurrency bybalanceragainst other groups of schedulers.
-