Uses of Class
org.apache.maven.surefire.junitcore.pc.SchedulingStrategy
Packages that use SchedulingStrategy
-
Uses of SchedulingStrategy in org.apache.maven.surefire.junitcore.pc
Subclasses of SchedulingStrategy in org.apache.maven.surefire.junitcore.pcModifier and TypeClassDescription(package private) classAbstract parallel scheduling strategy in private package.(package private) final classThe sequentially executing strategy in private package.(package private) final classParallel strategy for non-shared thread pool in private package.(package private) final classParallel strategy for shared thread pool in private package.Fields in org.apache.maven.surefire.junitcore.pc declared as SchedulingStrategyMethods in org.apache.maven.surefire.junitcore.pc that return SchedulingStrategyModifier and TypeMethodDescriptionstatic SchedulingStrategySchedulingStrategies.createInvokerStrategy(ConsoleStream logger) static SchedulingStrategySchedulingStrategies.createParallelSharedStrategy(ConsoleStream logger, ExecutorService threadPool) The threadPool passed to this strategy can be shared in other strategies.static SchedulingStrategySchedulingStrategies.createParallelStrategy(ConsoleStream logger, int nThreads) static SchedulingStrategySchedulingStrategies.createParallelStrategyUnbounded(ConsoleStream logger) Constructors in org.apache.maven.surefire.junitcore.pc with parameters of type SchedulingStrategyModifierConstructorDescriptionScheduler(ConsoleStream logger, org.junit.runner.Description description, Scheduler masterScheduler, SchedulingStrategy strategy) Should be used with individual pools on suites, classes and methods, seeParallelComputerBuilder.useSeparatePools().Scheduler(ConsoleStream logger, org.junit.runner.Description description, Scheduler masterScheduler, SchedulingStrategy strategy, int concurrency) 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, SchedulingStrategy strategy) Use e.g.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.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.