Class: AceMQ::AMQP::Patterns::ReplayResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/acemq/amqp/patterns/replay.rb

Overview

What a replay did.

reason is why it stopped, and it is worth reporting: "moved 500" means something quite different when the limit was 500.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#moved ⇒ Object

Returns the value of attribute moved

Returns:

  • (Object) —

    the current value of moved



31
32
33
# File 'lib/acemq/amqp/patterns/replay.rb', line 31

def moved
  @moved
end

#reason ⇒ Object

Returns the value of attribute reason

Returns:

  • (Object) —

    the current value of reason



31
32
33
# File 'lib/acemq/amqp/patterns/replay.rb', line 31

def reason
  @reason
end

#skipped ⇒ Object

Returns the value of attribute skipped

Returns:

  • (Object) —

    the current value of skipped



31
32
33
# File 'lib/acemq/amqp/patterns/replay.rb', line 31

def skipped
  @skipped
end

Instance Method Details

#to_s ⇒ Object



32
# File 'lib/acemq/amqp/patterns/replay.rb', line 32

def to_s = "moved #{moved}, skipped #{skipped} (#{reason})"