Class: IceMX::ThreadMetrics

Inherits:
Metrics
  • Object
show all
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

Metrics_mixin::ICE_TYPE

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

#_ice_slicedData

Class Method Summary collapse

Instance Method Summary collapse

Methods included from ThreadMetrics_mixin

#ice_id, #ice_ids, #inspect

Methods included from Metrics_mixin

#ice_id, #ice_ids, #inspect

Methods included from Ice::Object_mixin

#ice_isA, #ice_ping

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_staticIdObject



277
278
279
# File 'lib/Ice/Metrics.rb', line 277

def ThreadMetrics.ice_staticId()
    '::IceMX::ThreadMetrics'
end