Class: IceMX::Metrics
- Inherits:
-
Ice::Value
- Object
- Ice::Value
- IceMX::Metrics
- Defined in:
- ruby/Ice/Metrics.rb
Direct Known Subclasses
ChildInvocationMetrics, ConnectionMetrics, DispatchMetrics, InvocationMetrics, SessionMetrics, SubscriberMetrics, ThreadMetrics, TopicMetrics
Instance Attribute Summary collapse
-
#current ⇒ Object
Returns the value of attribute current.
-
#failures ⇒ Object
Returns the value of attribute failures.
-
#id ⇒ Object
Returns the value of attribute id.
-
#total ⇒ Object
Returns the value of attribute total.
-
#totalLifetime ⇒ Object
Returns the value of attribute totalLifetime.
Attributes inherited from Ice::Value
Instance Method Summary collapse
-
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0) ⇒ Metrics
constructor
A new instance of Metrics.
Methods inherited from Ice::Value
#ice_getSlicedData, #ice_id, ice_staticId, #inspect
Constructor Details
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0) ⇒ Metrics
Returns a new instance of Metrics.
21 22 23 24 25 26 27 |
# File 'ruby/Ice/Metrics.rb', line 21 def initialize(id='', total=0, current=0, totalLifetime=0, failures=0) @id = id @total = total @current = current @totalLifetime = totalLifetime @failures = failures end |
Instance Attribute Details
#current ⇒ Object
Returns the value of attribute current.
29 30 31 |
# File 'ruby/Ice/Metrics.rb', line 29 def current @current end |
#failures ⇒ Object
Returns the value of attribute failures.
29 30 31 |
# File 'ruby/Ice/Metrics.rb', line 29 def failures @failures end |
#id ⇒ Object
Returns the value of attribute id.
29 30 31 |
# File 'ruby/Ice/Metrics.rb', line 29 def id @id end |
#total ⇒ Object
Returns the value of attribute total.
29 30 31 |
# File 'ruby/Ice/Metrics.rb', line 29 def total @total end |
#totalLifetime ⇒ Object
Returns the value of attribute totalLifetime.
29 30 31 |
# File 'ruby/Ice/Metrics.rb', line 29 def totalLifetime @totalLifetime end |