Class JobZooKeeper

java.lang.Object
org.jobrunr.server.JobZooKeeper
All Implemented Interfaces:
Runnable

public class JobZooKeeper extends Object implements Runnable
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • startProcessing

      public void startProcessing(Job job, Thread thread)
    • stopProcessing

      public void stopProcessing(Job job)
    • getJobsInProgress

      public Set<Job> getJobsInProgress()
    • getThreadProcessingJob

      public Thread getThreadProcessingJob(Job job)
    • getOccupiedWorkerCount

      public int getOccupiedWorkerCount()
    • notifyThreadOccupied

      public void notifyThreadOccupied()
    • notifyThreadIdle

      public void notifyThreadIdle()