Class: IceMX::SubscriberMetrics

Inherits:
Metrics show all
Defined in:
lib/IceStorm/Metrics.rb

Instance Attribute Summary collapse

Attributes inherited from Metrics

#current, #failures, #id, #total, #totalLifetime

Attributes inherited from Ice::Value

#_ice_slicedData

Instance Method Summary collapse

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

#deliveredObject

Returns the value of attribute delivered.



60
61
62
# File 'lib/IceStorm/Metrics.rb', line 60

def delivered
  @delivered
end

#outstandingObject

Returns the value of attribute outstanding.



60
61
62
# File 'lib/IceStorm/Metrics.rb', line 60

def outstanding
  @outstanding
end

#queuedObject

Returns the value of attribute queued.



60
61
62
# File 'lib/IceStorm/Metrics.rb', line 60

def queued
  @queued
end