Class: OMQ::QoS::PeerRegistry::Entry

Inherits:
Data
  • Object
show all
Defined in:
lib/omq/qos/peer_registry.rb

Overview

One pending message.

peer_info is the peer the entry is pinned to; promise resolves to :delivered on ACK/COMP or to a DeadLetter on dead-letter/terminal NACK/retry-exhaustion/socket-close.

Instance Attribute Summary collapse

Instance Attribute Details

#partsObject (readonly)

Returns the value of attribute parts

Returns:

  • (Object)

    the current value of parts



25
26
27
# File 'lib/omq/qos/peer_registry.rb', line 25

def parts
  @parts
end

#peer_infoObject (readonly)

Returns the value of attribute peer_info

Returns:

  • (Object)

    the current value of peer_info



25
26
27
# File 'lib/omq/qos/peer_registry.rb', line 25

def peer_info
  @peer_info
end

#promiseObject (readonly)

Returns the value of attribute promise

Returns:

  • (Object)

    the current value of promise



25
26
27
# File 'lib/omq/qos/peer_registry.rb', line 25

def promise
  @promise
end

#retry_countObject (readonly)

Returns the value of attribute retry_count

Returns:

  • (Object)

    the current value of retry_count



25
26
27
# File 'lib/omq/qos/peer_registry.rb', line 25

def retry_count
  @retry_count
end

#sent_atObject (readonly)

Returns the value of attribute sent_at

Returns:

  • (Object)

    the current value of sent_at



25
26
27
# File 'lib/omq/qos/peer_registry.rb', line 25

def sent_at
  @sent_at
end