Class: JayAPI::Abstract::ConstantWait

Inherits:
WaitStrategy show all
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

#wait_interval

Method Summary

Methods inherited from WaitStrategy

#initialize, #wait

Constructor Details

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