Class: IceMX::InvocationMetrics

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, retryCount = 0, userException = 0, remotes = nil, collocated = nil) ⇒ InvocationMetrics

Returns a new instance of InvocationMetrics.



250
251
252
253
254
255
256
# File 'ruby/Ice/Metrics.rb', line 250

def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, retryCount=0, userException=0, remotes=nil, collocated=nil)
    super(id, total, current, totalLifetime, failures)
    @retryCount = retryCount
    @userException = userException
    @remotes = remotes
    @collocated = collocated
end

Instance Attribute Details

#collocatedObject

Returns the value of attribute collocated.



258
259
260
# File 'ruby/Ice/Metrics.rb', line 258

def collocated
  @collocated
end

#remotesObject

Returns the value of attribute remotes.



258
259
260
# File 'ruby/Ice/Metrics.rb', line 258

def remotes
  @remotes
end

#retryCountObject

Returns the value of attribute retryCount.



258
259
260
# File 'ruby/Ice/Metrics.rb', line 258

def retryCount
  @retryCount
end

#userExceptionObject

Returns the value of attribute userException.



258
259
260
# File 'ruby/Ice/Metrics.rb', line 258

def userException
  @userException
end