Class JobListBlocking

  • All Implemented Interfaces:
    JobList

    public class JobListBlocking
    extends java.lang.Object
    implements JobList
    • Constructor Summary

      Constructors 
      Constructor Description
      JobListBlocking()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addJob​(java.lang.Runnable job)  
      void join()  
      • Methods inherited from class java.lang.Object

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

      • JobListBlocking

        public JobListBlocking()
    • Method Detail

      • addJob

        public void addJob​(java.lang.Runnable job)
        Specified by:
        addJob in interface JobList
      • join

        public void join()
                  throws java.util.concurrent.ExecutionException
        Specified by:
        join in interface JobList
        Throws:
        java.util.concurrent.ExecutionException