Documentation ¶
Index ¶
- type ExponentialBackoffBuilder
- func (builder *ExponentialBackoffBuilder) Build() backoff.BackOff
- func (builder *ExponentialBackoffBuilder) Clock(c backoff.Clock) *ExponentialBackoffBuilder
- func (builder *ExponentialBackoffBuilder) InitialInterval(d time.Duration) *ExponentialBackoffBuilder
- func (builder *ExponentialBackoffBuilder) MaxElapsedTime(d time.Duration) *ExponentialBackoffBuilder
- func (builder *ExponentialBackoffBuilder) MaxInterval(d time.Duration) *ExponentialBackoffBuilder
- func (builder *ExponentialBackoffBuilder) MaxRetries(i uint64) *ExponentialBackoffBuilder
- func (builder *ExponentialBackoffBuilder) Multiplier(f float64) *ExponentialBackoffBuilder
- func (builder *ExponentialBackoffBuilder) RandomizationFactor(f float64) *ExponentialBackoffBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExponentialBackoffBuilder ¶
type ExponentialBackoffBuilder struct {
// contains filtered or unexported fields
}
func NewExponentialBackoffBuilder ¶
func NewExponentialBackoffBuilder() *ExponentialBackoffBuilder
func (*ExponentialBackoffBuilder) Build ¶
func (builder *ExponentialBackoffBuilder) Build() backoff.BackOff
func (*ExponentialBackoffBuilder) Clock ¶
func (builder *ExponentialBackoffBuilder) Clock(c backoff.Clock) *ExponentialBackoffBuilder
func (*ExponentialBackoffBuilder) InitialInterval ¶
func (builder *ExponentialBackoffBuilder) InitialInterval(d time.Duration) *ExponentialBackoffBuilder
func (*ExponentialBackoffBuilder) MaxElapsedTime ¶
func (builder *ExponentialBackoffBuilder) MaxElapsedTime(d time.Duration) *ExponentialBackoffBuilder
func (*ExponentialBackoffBuilder) MaxInterval ¶
func (builder *ExponentialBackoffBuilder) MaxInterval(d time.Duration) *ExponentialBackoffBuilder
func (*ExponentialBackoffBuilder) MaxRetries ¶
func (builder *ExponentialBackoffBuilder) MaxRetries(i uint64) *ExponentialBackoffBuilder
func (*ExponentialBackoffBuilder) Multiplier ¶
func (builder *ExponentialBackoffBuilder) Multiplier(f float64) *ExponentialBackoffBuilder
func (*ExponentialBackoffBuilder) RandomizationFactor ¶
func (builder *ExponentialBackoffBuilder) RandomizationFactor(f float64) *ExponentialBackoffBuilder
Click to show internal directories.
Click to hide internal directories.