Class AcquireJobsRunnable

  • All Implemented Interfaces:
    java.lang.Runnable
    Direct Known Subclasses:
    SequentialJobAcquisitionRunnable

    public abstract class AcquireJobsRunnable
    extends java.lang.Object
    implements java.lang.Runnable
    Author:
    Thorben Lindhauer
    • Field Detail

      • isInterrupted

        protected volatile boolean isInterrupted
      • isJobAdded

        protected volatile boolean isJobAdded
      • MONITOR

        protected final java.lang.Object MONITOR
      • isWaiting

        protected final java.util.concurrent.atomic.AtomicBoolean isWaiting
    • Constructor Detail

      • AcquireJobsRunnable

        public AcquireJobsRunnable​(JobExecutor jobExecutor)
    • Method Detail

      • suspendAcquisition

        protected void suspendAcquisition​(long millis)
      • stop

        public void stop()
      • jobWasAdded

        public void jobWasAdded()
      • clearJobAddedNotification

        protected void clearJobAddedNotification()
      • isJobAdded

        public boolean isJobAdded()