public class AcquireAsyncJobsDueCmd extends Object implements Command<AcquiredJobEntities>
Constructor and Description |
---|
AcquireAsyncJobsDueCmd(AsyncExecutor asyncExecutor) |
Modifier and Type | Method and Description |
---|---|
AcquiredJobEntities |
execute(CommandContext commandContext) |
protected void |
lockJob(CommandContext commandContext,
JobEntity job,
int lockTimeInMillis) |
public AcquireAsyncJobsDueCmd(AsyncExecutor asyncExecutor)
public AcquiredJobEntities execute(CommandContext commandContext)
execute
in interface Command<AcquiredJobEntities>
protected void lockJob(CommandContext commandContext, JobEntity job, int lockTimeInMillis)
Copyright © 2016 Alfresco. All rights reserved.