Class: IceMX::TopicMetrics
- Inherits:
-
Metrics
- Object
- Ice::Value
- Metrics
- IceMX::TopicMetrics
- Defined in:
- ruby/IceStorm/Metrics.rb
Instance Attribute Summary collapse
-
#forwarded ⇒ Object
Returns the value of attribute forwarded.
-
#published ⇒ Object
Returns the value of attribute published.
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, published = 0, forwarded = 0) ⇒ TopicMetrics
constructor
A new instance of TopicMetrics.
Methods inherited from Ice::Value
#ice_getSlicedData, #ice_id, ice_staticId, #inspect
Constructor Details
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, published = 0, forwarded = 0) ⇒ TopicMetrics
Returns a new instance of TopicMetrics.
17 18 19 20 21 |
# File 'ruby/IceStorm/Metrics.rb', line 17 def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, published=0, forwarded=0) super(id, total, current, totalLifetime, failures) @published = published @forwarded = forwarded end |
Instance Attribute Details
#forwarded ⇒ Object
Returns the value of attribute forwarded.
23 24 25 |
# File 'ruby/IceStorm/Metrics.rb', line 23 def forwarded @forwarded end |
#published ⇒ Object
Returns the value of attribute published.
23 24 25 |
# File 'ruby/IceStorm/Metrics.rb', line 23 def published @published end |