Class Scheduler.Controller

  • Enclosing class:
    Scheduler

    private final class Scheduler.Controller
    extends java.lang.Object
    If this is a master scheduler, the slaves can stop scheduling by the master through the controller.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Scheduler slave  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Controller​(Scheduler slave)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean canSchedule()  
      (package private) boolean destroy()  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      (package private) void stop​(java.util.Collection<org.junit.runner.Description> executedTests, java.util.Collection<org.junit.runner.Description> incompleteTests, boolean tryCancelFutures, boolean shutdownNow)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Controller

        private Controller​(Scheduler slave)
    • Method Detail

      • canSchedule

        boolean canSchedule()
        Returns:
        true if 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object