Interface IBackoffPolicyBuilder
- Namespace
- AWS.Messaging.Configuration
- Assembly
- AWS.Messaging.dll
This builder interface is used to configure the backoff policy and its options.
public interface IBackoffPolicyBuilder
Methods
UseCappedExponentialBackoff(Action<CappedExponentialBackoffOptions>)
Sets the backoff policy to AWS.Messaging.Services.Backoff.Policies.CappedExponentialBackoffPolicy and allows its configuration.
void UseCappedExponentialBackoff(Action<CappedExponentialBackoffOptions> options)
Parameters
options
Action<CappedExponentialBackoffOptions>
UseIntervalBackoff(Action<IntervalBackoffOptions>)
Sets the backoff policy to AWS.Messaging.Services.Backoff.Policies.IntervalBackoffPolicy and allows its configuration.
void UseIntervalBackoff(Action<IntervalBackoffOptions> options)
Parameters
options
Action<IntervalBackoffOptions>
UseNoBackoff()
Sets the backoff policy to AWS.Messaging.Services.Backoff.Policies.NoBackoffPolicy, effectively disabling back-offs.
void UseNoBackoff()