Interface TaskNodeOutput

    • Method Detail

      • withExponentialBackoff

        TaskNodeOutput withExponentialBackoff​(io.littlehorse.sdk.common.proto.ExponentialBackoffRetryPolicy policy)
        Overrides defaults from the Workflow or WorkflowThread and configures an Exponential Backoff Retry Policy for this TaskNode.
        Parameters:
        policy - is the ExponentialBackoffRetryPolicy for this TaskNode.
        Returns:
        this TaskNodeOutput.
      • withRetries

        TaskNodeOutput withRetries​(int retries)
        Overrides defaults from the Workflow or WorkflowThread and configures simple retries with no delay on this TaskNode.
        Parameters:
        retries - is the number of times to retry failed executions of TaskRuns on this Task Node.