com.amazonaws.services.simpleworkflow.flow.interceptors

## インタフェース InvocationSchedule

- 既知の実装クラスのリスト:
    CronInvocationSchedule, FixedIntervalInvocationSchedule

      public interface InvocationSchedule

  Encapsulates an invocation schedule.
  作成者:
    fateev
  関連項目:
    `AsyncScheduledExecutor`, `ScheduleDecorator`

- - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `long` | `nextInvocationDelaySeconds(java.util.Date currentTime, java.util.Date startTime, java.util.Date lastInvocationTime, int pastInvocatonsCount)` Return interval until the next invocation.

- - ### メソッドの詳細

    - #### nextInvocationDelaySeconds

          long nextInvocationDelaySeconds(java.util.Date currentTime,
                                        java.util.Date startTime,
                                        java.util.Date lastInvocationTime,
                                        int pastInvocatonsCount)

      Return interval until the next invocation.
      パラメータ:
        `currentTime` - - current workflow time
        `startTime` - - time when workflow started
        `lastInvocationTime` - - time when last invocation happened
        `pastInvocatonsCount` - - how many invocations were done
      戻り値:
        time in seconds until the next invocation. `FlowConstants.NONE` if no more invocations should be scheduled.