Class RoundRobinBalancer
java.lang.Object
com.carrotsearch.ant.tasks.junit4.balancers.RoundRobinBalancer
- All Implemented Interfaces:
SuiteBalancer
A round-robin suite balancer (default for non-assigned suites).
-
Nested Class Summary
Nested classes/interfaces inherited from interface SuiteBalancer
SuiteBalancer.Assignment -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassign(Collection<String> suiteNames, int slaves, long seed) Provide assignments for suite names and a given number of slaves.voidSets the owner task (for logging mostly).
-
Constructor Details
-
RoundRobinBalancer
public RoundRobinBalancer()
-
-
Method Details
-
assign
Description copied from interface:SuiteBalancerProvide assignments for suite names and a given number of slaves.- Specified by:
assignin interfaceSuiteBalancer- Returns:
- Returns an ordered list with assignments. Any suite name not present in the keys of the returned map will be assigned by following balancers (or randomly).
-
setOwner
Description copied from interface:SuiteBalancerSets the owner task (for logging mostly).- Specified by:
setOwnerin interfaceSuiteBalancer
-