Class: SourceMonitor::Fetching::RetryPolicy::Decision

Inherits:
Struct
  • Object
show all
Defined in:
lib/source_monitor/fetching/retry_policy.rb

Instance Attribute Summary collapse

Instance Attribute Details

#circuit_untilObject

Returns the value of attribute circuit_until

Returns:

  • (Object)

    the current value of circuit_until



8
9
10
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8

def circuit_until
  @circuit_until
end

#next_attemptObject

Returns the value of attribute next_attempt

Returns:

  • (Object)

    the current value of 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?

Returns:

  • (Object)

    the current value of 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?

Returns:

  • (Object)

    the current value of retry?



8
9
10
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8

def retry?
  @retry?
end

#waitObject

Returns the value of attribute wait

Returns:

  • (Object)

    the current value of wait



8
9
10
# File 'lib/source_monitor/fetching/retry_policy.rb', line 8

def wait
  @wait
end