org.camunda.bpm.engine.impl.jobexecutor
Class AcquireJobsRunnable

java.lang.Object
  extended by org.camunda.bpm.engine.impl.jobexecutor.AcquireJobsRunnable
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
SequentialJobAcquisitionRunnable

public abstract class AcquireJobsRunnable
extends Object
implements Runnable

Author:
Thorben Lindhauer

Field Summary
protected  boolean isInterrupted
           
protected  boolean isJobAdded
           
protected  AtomicBoolean isWaiting
           
protected  JobExecutor jobExecutor
           
protected  Object MONITOR
           
 
Constructor Summary
AcquireJobsRunnable(JobExecutor jobExecutor)
           
 
Method Summary
protected  void clearJobAddedNotification()
           
 boolean isJobAdded()
           
 void jobWasAdded()
           
 void stop()
           
protected  void suspendAcquisition(long millis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

jobExecutor

protected final JobExecutor jobExecutor

isInterrupted

protected volatile boolean isInterrupted

isJobAdded

protected volatile boolean isJobAdded

MONITOR

protected final Object MONITOR

isWaiting

protected final 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()


Copyright © 2017 camunda services GmbH. All rights reserved.