Class: IceMX::SubscriberMetrics
- Inherits:
-
Metrics
- Object
- Ice::Value
- Metrics
- IceMX::SubscriberMetrics
- Defined in:
- lib/IceStorm/Metrics.rb
Instance Attribute Summary collapse
-
#delivered ⇒ Object
Returns the value of attribute delivered.
-
#outstanding ⇒ Object
Returns the value of attribute outstanding.
-
#queued ⇒ Object
Returns the value of attribute queued.
Attributes inherited from Metrics
#current, #failures, #id, #total, #totalLifetime
Attributes inherited from Ice::Value
Instance Method Summary collapse
-
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, queued = 0, outstanding = 0, delivered = 0) ⇒ SubscriberMetrics
constructor
A new instance of SubscriberMetrics.
Methods inherited from Ice::Value
#ice_getSlicedData, #ice_id, ice_staticId, #inspect
Constructor Details
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, queued = 0, outstanding = 0, delivered = 0) ⇒ SubscriberMetrics
Returns a new instance of SubscriberMetrics.
53 54 55 56 57 58 |
# File 'lib/IceStorm/Metrics.rb', line 53 def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, queued=0, outstanding=0, delivered=0) super(id, total, current, totalLifetime, failures) @queued = queued @outstanding = outstanding @delivered = delivered end |
Instance Attribute Details
#delivered ⇒ Object
Returns the value of attribute delivered.
60 61 62 |
# File 'lib/IceStorm/Metrics.rb', line 60 def delivered @delivered end |
#outstanding ⇒ Object
Returns the value of attribute outstanding.
60 61 62 |
# File 'lib/IceStorm/Metrics.rb', line 60 def outstanding @outstanding end |
#queued ⇒ Object
Returns the value of attribute queued.
60 61 62 |
# File 'lib/IceStorm/Metrics.rb', line 60 def queued @queued end |