Enum googapis::google::cloud::integrations::v1alpha::failure_policy::RetryStrategy [−][src]
#[repr(i32)]
pub enum RetryStrategy {
Unspecified,
Ignore,
None,
Fatal,
FixedInterval,
LinearBackoff,
ExponentialBackoff,
RestartIntegrationWithBackoff,
}
Expand description
The behavior when the taks failed.
Variants
UNSPECIFIED.
Ignores the failure of this task. The rest of the integration will be executed Assuming this task succeeded.
Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the integration.
Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.
The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. max_retries and interval_in_seconds must be specified.
The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. max_retries and interval_in_seconds must be specified.
The task will be retried after an exponentially increasing period of
time with each failure. A jitter is added to each exponential interval
so that concurrently failing tasks of the same type do not end up
retrying after the exact same exponential interval. A max-retry count
is required to be specified with this strategy. max_retries
and
interval_in_seconds
must be specified.
The entire integration will be restarted with the initial parameters that
were set when the event was fired. A max-retry count is required to be
specified with this strategy. max_retries
and interval_in_seconds
must be specified.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RetryStrategy
impl Send for RetryStrategy
impl Sync for RetryStrategy
impl Unpin for RetryStrategy
impl UnwindSafe for RetryStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more