Class: IceMX::InvocationMetrics

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

Returns a new instance of InvocationMetrics.



290
291
292
293
294
295
296
# File 'lib/Ice/Metrics.rb', line 290

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

Instance Attribute Details

#_retryObject

Returns the value of attribute _retry.



298
299
300
# File 'lib/Ice/Metrics.rb', line 298

def _retry
  @_retry
end

#collocatedObject

Returns the value of attribute collocated.



298
299
300
# File 'lib/Ice/Metrics.rb', line 298

def collocated
  @collocated
end

#remotesObject

Returns the value of attribute remotes.



298
299
300
# File 'lib/Ice/Metrics.rb', line 298

def remotes
  @remotes
end

#userExceptionObject

Returns the value of attribute userException.



298
299
300
# File 'lib/Ice/Metrics.rb', line 298

def userException
  @userException
end