public class CronInvocationSchedule extends java.lang.Object implements InvocationSchedule
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected static int |
SECOND |
| コンストラクタと説明 |
|---|
CronInvocationSchedule(java.lang.String cronExpression,
java.util.Date expiration,
java.util.TimeZone timeZone) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
long |
nextInvocationDelaySeconds(java.util.Date currentTime,
java.util.Date startTime,
java.util.Date lastInvocationTime,
int pastInvocatonsCount)
Return interval until the next invocation.
|
protected static final int SECOND
public CronInvocationSchedule(java.lang.String cronExpression,
java.util.Date expiration,
java.util.TimeZone timeZone)
public long nextInvocationDelaySeconds(java.util.Date currentTime,
java.util.Date startTime,
java.util.Date lastInvocationTime,
int pastInvocatonsCount)
InvocationSchedulenextInvocationDelaySeconds インタフェース内 InvocationSchedulecurrentTime - - current workflow timestartTime - - time when workflow startedlastInvocationTime - - time when last invocation happenedpastInvocatonsCount - - how many invocations were doneFlowConstants.NONE if no more invocations should be
scheduled.