Class: JayAPI::Abstract::GeometricWait

Inherits:
WaitStrategy show all
Defined in:
lib/jay_api/abstract/geometric_wait.rb

Overview

A geometric wait strategy implementation of the WaitStrategy abstract class. This strategy uses a geometrically increasing wait interval between retries. The wait interval is exponentially increased based on the number of attempts made, making it suitable for scenarios where a rapidly increasing delay is preferred.

Inherits from WaitStrategy and overrides the wait_time method to provide a geometrically increasing waiting time.

Instance Attribute Summary

Attributes inherited from WaitStrategy

#wait_interval

Method Summary

Methods inherited from WaitStrategy

#initialize, #wait

Constructor Details

This class inherits a constructor from JayAPI::Abstract::WaitStrategy