Class: IceMX::ChildInvocationMetrics

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

Direct Known Subclasses

CollocatedMetrics, RemoteMetrics

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, size = 0, replySize = 0) ⇒ ChildInvocationMetrics

Returns a new instance of ChildInvocationMetrics.



229
230
231
232
233
# File 'lib/Ice/Metrics.rb', line 229

def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, size=0, replySize=0)
    super(id, total, current, totalLifetime, failures)
    @size = size
    @replySize = replySize
end

Instance Attribute Details

#replySizeObject

Returns the value of attribute replySize.



235
236
237
# File 'lib/Ice/Metrics.rb', line 235

def replySize
  @replySize
end

#sizeObject

Returns the value of attribute size.



235
236
237
# File 'lib/Ice/Metrics.rb', line 235

def size
  @size
end