Class JobZooKeeper

  • All Implemented Interfaces:
    java.lang.Runnable

    public class JobZooKeeper
    extends java.lang.Object
    implements java.lang.Runnable
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • stop

        public void stop()
      • setIsMaster

        public void setIsMaster​(boolean isMaster)
      • isMaster

        public boolean isMaster()
      • startProcessing

        public void startProcessing​(Job job,
                                    java.lang.Thread thread)
      • stopProcessing

        public void stopProcessing​(Job job)
      • getWorkQueueSize

        public int getWorkQueueSize()
      • getThreadProcessingJob

        public java.lang.Thread getThreadProcessingJob​(Job job)
      • notifyThreadIdle

        public void notifyThreadIdle()