Class: JayAPI::Abstract::ConstantWait
- Inherits:
-
WaitStrategy
- Object
- WaitStrategy
- JayAPI::Abstract::ConstantWait
- Defined in:
- lib/jay_api/abstract/constant_wait.rb
Overview
A constant wait strategy implementation of the WaitStrategy abstract class. This strategy uses a fixed wait interval between retries. The wait interval does not change regardless of the number of attempts made. It is suitable for scenarios where a constant delay is preferred over an increasing delay.
Inherits from WaitStrategy and overrides the wait_time method to provide a linear waiting time.
Instance Attribute Summary
Attributes inherited from WaitStrategy
Method Summary
Methods inherited from WaitStrategy
Constructor Details
This class inherits a constructor from JayAPI::Abstract::WaitStrategy