public class AcquireTimerJobsWithGlobalAcquireLockCmd extends Object implements Command<List<TimerJobEntity>>
| Modifier and Type | Field and Description |
|---|---|
protected AsyncExecutor |
asyncExecutor |
| Constructor and Description |
|---|
AcquireTimerJobsWithGlobalAcquireLockCmd(AsyncExecutor asyncExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected GregorianCalendar |
calculateLockExpirationTime(int lockTimeInMillis,
JobServiceConfiguration jobServiceConfiguration) |
List<TimerJobEntity> |
execute(CommandContext commandContext) |
protected AsyncExecutor asyncExecutor
public AcquireTimerJobsWithGlobalAcquireLockCmd(AsyncExecutor asyncExecutor)
public List<TimerJobEntity> execute(CommandContext commandContext)
execute in interface Command<List<TimerJobEntity>>protected GregorianCalendar calculateLockExpirationTime(int lockTimeInMillis, JobServiceConfiguration jobServiceConfiguration)
Copyright © 2021 Flowable. All rights reserved.