Class Scheduler.Controller
java.lang.Object
org.apache.maven.surefire.junitcore.pc.Scheduler.Controller
- Enclosing class:
- Scheduler
If this is a master scheduler, the slaves can stop scheduling by the master through the controller.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
(package private) boolean
destroy()
boolean
int
hashCode()
(package private) void
stop
(Collection<org.junit.runner.Description> executedTests, Collection<org.junit.runner.Description> incompleteTests, boolean tryCancelFutures, boolean shutdownNow)
-
Field Details
-
slave
-
-
Constructor Details
-
Controller
-
-
Method Details
-
canSchedule
boolean canSchedule()- Returns:
true
if new children can be scheduled.
-
stop
void stop(Collection<org.junit.runner.Description> executedTests, Collection<org.junit.runner.Description> incompleteTests, boolean tryCancelFutures, boolean shutdownNow) -
destroy
boolean destroy()- See Also:
-
hashCode
public int hashCode() -
equals
-