Class: Px::Service::Client::CircuitBreakerRetriableResponseFuture
- Inherits:
-
RetriableResponseFuture
- Object
- Future
- RetriableResponseFuture
- Px::Service::Client::CircuitBreakerRetriableResponseFuture
- Defined in:
- lib/px/service/client/circuit_breaker_retriable_response_future.rb
Constant Summary
Constants inherited from RetriableResponseFuture
RetriableResponseFuture::DEFAULT_RETRIES
Instance Attribute Summary
Attributes inherited from RetriableResponseFuture
Instance Method Summary collapse
-
#initialize(ex) ⇒ CircuitBreakerRetriableResponseFuture
constructor
Sets the value of a RetriableResponseFuture to the exception raised when opening the circuit breaker.
Methods inherited from Future
#complete, #completed?, #method_missing, #respond_to_missing?, #value, #value!
Constructor Details
#initialize(ex) ⇒ CircuitBreakerRetriableResponseFuture
Sets the value of a RetriableResponseFuture to the exception raised when opening the circuit breaker.
7 8 9 10 11 |
# File 'lib/px/service/client/circuit_breaker_retriable_response_future.rb', line 7 def initialize(ex) super() complete(ex) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Px::Service::Client::Future