public class CronInvocationSchedule extends Object implements InvocationSchedule
| Constructor and Description | 
|---|
| CronInvocationSchedule(String cronExpression,
                      Date expiration,
                      TimeZone timeZone) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | nextInvocationDelaySeconds(Date currentTime,
                          Date startTime,
                          Date lastInvocationTime,
                          int pastInvocatonsCount)Return interval until the next invocation. | 
public long nextInvocationDelaySeconds(Date currentTime, Date startTime, Date lastInvocationTime, int pastInvocatonsCount)
InvocationSchedulenextInvocationDelaySeconds in interface 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.