Enumeration RETRY_STRATEGY

Represents the strategy to retry a task

Enumeration Members

FAIL_AFTER_EXECUTED: "failAfterExecuted"

The task will allow only one execution, if it fails, it will fail in every retry

FAIL_AFTER_SUCCESS: "failAfterSuccess"

The task will allow to be executed again if it fails, but it will rejects if there are more retries before the success

NOT_EXEC_AFTER_SUCCESS: "notExecAfterSuccess"

The task will resolve the result of first successful execution, if it fails, it will allow to be executed again

RETRY: "retry"

The task will allow to be executed again if it fails, updating the metadata in each retry