org.camunda.bpm.engine.impl.cmd
Class AcquireJobsCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AcquireJobsCmd
All Implemented Interfaces:
Command<AcquiredJobs>

public class AcquireJobsCmd
extends Object
implements Command<AcquiredJobs>

Author:
Nick Burch, Daniel Meyer

Constructor Summary
AcquireJobsCmd(JobExecutor jobExecutor)
           
 
Method Summary
 AcquiredJobs execute(CommandContext commandContext)
           
protected  void lockJob(JobEntity job, String lockOwner, int lockTimeInMillis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcquireJobsCmd

public AcquireJobsCmd(JobExecutor jobExecutor)
Method Detail

execute

public AcquiredJobs execute(CommandContext commandContext)
Specified by:
execute in interface Command<AcquiredJobs>

lockJob

protected void lockJob(JobEntity job,
                       String lockOwner,
                       int lockTimeInMillis)


Copyright © 2014 camunda services GmbH. All Rights Reserved.