Class: IceMX::ThreadMetrics

Inherits:
Metrics show all
Defined in:
ruby/Ice/Metrics.rb

Instance Attribute Summary collapse

Attributes inherited from Metrics

#current, #failures, #id, #total, #totalLifetime

Attributes inherited from Ice::Value

#_ice_slicedData

Instance Method Summary collapse

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

#inUseForIOObject

Returns the value of attribute inUseForIO.



157
158
159
# File 'ruby/Ice/Metrics.rb', line 157

def inUseForIO
  @inUseForIO
end

#inUseForOtherObject

Returns the value of attribute inUseForOther.



157
158
159
# File 'ruby/Ice/Metrics.rb', line 157

def inUseForOther
  @inUseForOther
end

#inUseForUserObject

Returns the value of attribute inUseForUser.



157
158
159
# File 'ruby/Ice/Metrics.rb', line 157

def inUseForUser
  @inUseForUser
end