Class: SourceMonitor::Fetching::RetryPolicy::Decision
- Inherits:
-
Struct
- Object
- Struct
- SourceMonitor::Fetching::RetryPolicy::Decision
- Defined in:
- lib/source_monitor/fetching/retry_policy.rb
Instance Attribute Summary collapse
-
#circuit_until ⇒ Object
Returns the value of attribute circuit_until.
-
#next_attempt ⇒ Object
Returns the value of attribute next_attempt.
-
#open_circuit? ⇒ Object
Returns the value of attribute open_circuit?.
-
#retry? ⇒ Object
Returns the value of attribute retry?.
-
#wait ⇒ Object
Returns the value of attribute wait.
Instance Attribute Details
#circuit_until ⇒ Object
Returns the value of attribute circuit_until
8 9 10 |
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8 def circuit_until @circuit_until end |
#next_attempt ⇒ Object
Returns the value of attribute next_attempt
8 9 10 |
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8 def next_attempt @next_attempt end |
#open_circuit? ⇒ Object
Returns the value of attribute open_circuit?
8 9 10 |
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8
def open_circuit?
@open_circuit?
end
|
#retry? ⇒ Object
Returns the value of attribute retry?
8 9 10 |
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8
def retry?
@retry?
end
|
#wait ⇒ Object
Returns the value of attribute wait
8 9 10 |
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8 def wait @wait end |