Class Scheduler.Controller
- java.lang.Object
-
- org.apache.maven.surefire.junitcore.pc.Scheduler.Controller
-
- Enclosing class:
- Scheduler
private final class Scheduler.Controller extends java.lang.ObjectIf this is a master scheduler, the slaves can stop scheduling by the master through the controller.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateController(Scheduler slave)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) booleancanSchedule()(package private) booleandestroy()booleanequals(java.lang.Object o)inthashCode()(package private) voidstop(java.util.Collection<org.junit.runner.Description> executedTests, java.util.Collection<org.junit.runner.Description> incompleteTests, boolean tryCancelFutures, boolean shutdownNow)
-
-
-
Field Detail
-
slave
private final Scheduler slave
-
-
Constructor Detail
-
Controller
private Controller(Scheduler slave)
-
-
Method Detail
-
canSchedule
boolean canSchedule()
- Returns:
trueif new children can be scheduled.
-
stop
void stop(java.util.Collection<org.junit.runner.Description> executedTests, java.util.Collection<org.junit.runner.Description> incompleteTests, boolean tryCancelFutures, boolean shutdownNow)
-
destroy
boolean destroy()
- See Also:
Destroyable.destroy()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-