Class: IceMX::DispatchMetrics

Inherits:
Metrics show all
Defined in:
lib/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, userException = 0, size = 0, replySize = 0) ⇒ DispatchMetrics

Returns a new instance of DispatchMetrics.



202
203
204
205
206
207
# File 'lib/Ice/Metrics.rb', line 202

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

Instance Attribute Details

#replySizeObject

Returns the value of attribute replySize.



209
210
211
# File 'lib/Ice/Metrics.rb', line 209

def replySize
  @replySize
end

#sizeObject

Returns the value of attribute size.



209
210
211
# File 'lib/Ice/Metrics.rb', line 209

def size
  @size
end

#userExceptionObject

Returns the value of attribute userException.



209
210
211
# File 'lib/Ice/Metrics.rb', line 209

def userException
  @userException
end