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 © 2016. All rights reserved.