public interface InvocationSchedule
AsyncScheduledExecutor
,
ScheduleDecorator
Modifier and Type | Method and Description |
---|---|
long |
nextInvocationDelaySeconds(Date currentTime,
Date startTime,
Date lastInvocationTime,
int pastInvocatonsCount)
Return interval until the next invocation.
|
long nextInvocationDelaySeconds(Date currentTime, Date startTime, Date lastInvocationTime, int pastInvocatonsCount)
currentTime
- - 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.