public class LockingJob1 extends java.lang.Object implements IScheduledJob, ILockingJob
| Modifier and Type | Field and Description |
|---|---|
protected static java.util.concurrent.CompletableFuture<java.lang.Void> |
completed |
| Constructor and Description |
|---|
LockingJob1() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription(java.lang.String locale) |
java.lang.String |
getJobId() |
JobKind |
getType() |
java.util.concurrent.CompletableFuture<java.lang.Void> |
isDone() |
boolean |
supportsScheduling() |
void |
tick(IScheduler sched,
boolean plannedExecution,
java.lang.String domainName,
java.util.Date startDate)
This method is called by Blue Mind's scheduler.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelprotected static final java.util.concurrent.CompletableFuture<java.lang.Void> completed
public void tick(IScheduler sched, boolean plannedExecution, java.lang.String domainName, java.util.Date startDate) throws ServerFault
IScheduledJobtick in interface IScheduledJobplannedExecution - True when started by hand on from a scheduled plan. False
when the job is in automatic mode.ServerFaultpublic JobKind getType()
getType in interface IScheduledJobpublic java.lang.String getDescription(java.lang.String locale)
getDescription in interface IScheduledJobpublic java.lang.String getJobId()
getJobId in interface IScheduledJobpublic boolean supportsScheduling()
supportsScheduling in interface IScheduledJobpublic java.util.concurrent.CompletableFuture<java.lang.Void> isDone()
isDone in interface ILockingJobCopyright © 2023. All Rights Reserved.