Package 

Interface RetryableTask

  • All Implemented Interfaces:
    com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint , com.netflix.spinnaker.orca.api.pipeline.Task , org.pf4j.ExtensionPoint

    @Beta() 
    public interface RetryableTask
     implements Task
                        

    A retryable task defines its backoff period (the period between delays) and its timeout (the total period of the task)

    • Method Summary

      Modifier and Type Method Description
      abstract long getBackoffPeriod() TODO(rz): Use Duration.
      abstract long getTimeout() TODO(rz): Use Duration.
      long getDynamicTimeout(StageExecution stage)
      long getDynamicBackoffPeriod(Duration taskDuration)
      long getDynamicBackoffPeriod(StageExecution stage, Duration taskDuration)
      • Methods inherited from class com.netflix.spinnaker.orca.api.pipeline.Task

        aliases, execute, onCancel, onCancelWithResult, onTimeout
      • Methods inherited from class com.netflix.spinnaker.kork.plugins.api.internal.SpinnakerExtensionPoint

        getExtensionClass, getPluginId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait