Class: IceMX::ThreadMetrics
- Inherits:
-
Metrics
- Object
- Ice::Value
- Metrics
- IceMX::ThreadMetrics
- Defined in:
- ruby/Ice/Metrics.rb
Instance Attribute Summary collapse
-
#inUseForIO ⇒ Object
Returns the value of attribute inUseForIO.
-
#inUseForOther ⇒ Object
Returns the value of attribute inUseForOther.
-
#inUseForUser ⇒ Object
Returns the value of attribute inUseForUser.
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, inUseForIO = 0, inUseForUser = 0, inUseForOther = 0) ⇒ ThreadMetrics
constructor
A new instance of ThreadMetrics.
Methods inherited from Ice::Value
#ice_getSlicedData, #ice_id, ice_staticId, #inspect
Constructor Details
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, inUseForIO = 0, inUseForUser = 0, inUseForOther = 0) ⇒ ThreadMetrics
Returns a new instance of ThreadMetrics.
150 151 152 153 154 155 |
# File 'ruby/Ice/Metrics.rb', line 150 def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, inUseForIO=0, inUseForUser=0, inUseForOther=0) super(id, total, current, totalLifetime, failures) @inUseForIO = inUseForIO @inUseForUser = inUseForUser @inUseForOther = inUseForOther end |
Instance Attribute Details
#inUseForIO ⇒ Object
Returns the value of attribute inUseForIO.
157 158 159 |
# File 'ruby/Ice/Metrics.rb', line 157 def inUseForIO @inUseForIO end |
#inUseForOther ⇒ Object
Returns the value of attribute inUseForOther.
157 158 159 |
# File 'ruby/Ice/Metrics.rb', line 157 def inUseForOther @inUseForOther end |
#inUseForUser ⇒ Object
Returns the value of attribute inUseForUser.
157 158 159 |
# File 'ruby/Ice/Metrics.rb', line 157 def inUseForUser @inUseForUser end |