Class: AceMQ::AMQP::RetryLadder::Rung
- Inherits:
-
Struct
- Object
- Struct
- AceMQ::AMQP::RetryLadder::Rung
- Defined in:
- lib/acemq/amqp/retry_ladder.rb
Overview
One step of the ladder: a delay, the queue that expresses it, and the arguments that queue has to be declared with for it to mean anything.
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#delay ⇒ Object
Returns the value of attribute delay.
-
#queue ⇒ Object
Returns the value of attribute queue.
Instance Method Summary collapse
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments
69 70 71 |
# File 'lib/acemq/amqp/retry_ladder.rb', line 69 def arguments @arguments end |
#delay ⇒ Object
Returns the value of attribute delay
69 70 71 |
# File 'lib/acemq/amqp/retry_ladder.rb', line 69 def delay @delay end |
#queue ⇒ Object
Returns the value of attribute queue
69 70 71 |
# File 'lib/acemq/amqp/retry_ladder.rb', line 69 def queue @queue end |
Instance Method Details
#to_s ⇒ Object
70 |
# File 'lib/acemq/amqp/retry_ladder.rb', line 70 def to_s = "#{queue} (ttl #{delay}s)" |