Class: IceMX::ThreadMetrics
- Includes:
- ThreadMetrics_mixin
- Defined in:
- lib/Ice/Metrics.rb
Constant Summary
Constants included from ThreadMetrics_mixin
IceMX::ThreadMetrics_mixin::ICE_TYPE
Constants included from Metrics_mixin
Constants included from Ice::Object_mixin
Ice::Object_mixin::ICE_TYPE, Ice::Object_mixin::OP_ice_id, Ice::Object_mixin::OP_ice_ids, Ice::Object_mixin::OP_ice_isA, Ice::Object_mixin::OP_ice_ping
Instance Attribute Summary
Attributes included from ThreadMetrics_mixin
#inUseForIO, #inUseForOther, #inUseForUser
Attributes included from Metrics_mixin
#current, #failures, #id, #total, #totalLifetime
Attributes included from Ice::Object_mixin
Class Method Summary collapse
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 included from ThreadMetrics_mixin
Methods included from Metrics_mixin
Methods included from Ice::Object_mixin
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.
281 282 283 284 285 286 |
# File 'lib/Ice/Metrics.rb', line 281 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 |
Class Method Details
.ice_staticId ⇒ Object
277 278 279 |
# File 'lib/Ice/Metrics.rb', line 277 def ThreadMetrics.ice_staticId() '::IceMX::ThreadMetrics' end |