Module: IceMX::Metrics_mixin

Constant Summary collapse

ICE_TYPE =
T_Metrics

Constants included from Ice::Object_mixin

Ice::Object_mixin::OP_ice_id, Ice::Object_mixin::OP_ice_ids, Ice::Object_mixin::OP_ice_isA, Ice::Object_mixin::OP_ice_ping

Instance Attribute Summary collapse

Attributes included from Ice::Object_mixin

#_ice_slicedData

Instance Method Summary collapse

Methods included from Ice::Object_mixin

#ice_isA, #ice_ping

Instance Attribute Details

#currentObject

Returns the value of attribute current.



47
48
49
# File 'lib/Ice/Metrics.rb', line 47

def current
  @current
end

#failuresObject

Returns the value of attribute failures.



47
48
49
# File 'lib/Ice/Metrics.rb', line 47

def failures
  @failures
end

#idObject

Returns the value of attribute id.



47
48
49
# File 'lib/Ice/Metrics.rb', line 47

def id
  @id
end

#totalObject

Returns the value of attribute total.



47
48
49
# File 'lib/Ice/Metrics.rb', line 47

def total
  @total
end

#totalLifetimeObject

Returns the value of attribute totalLifetime.



47
48
49
# File 'lib/Ice/Metrics.rb', line 47

def totalLifetime
  @totalLifetime
end

Instance Method Details

#ice_id(current = nil) ⇒ Object



39
40
41
# File 'lib/Ice/Metrics.rb', line 39

def ice_id(current=nil)
    '::IceMX::Metrics'
end

#ice_ids(current = nil) ⇒ Object



35
36
37
# File 'lib/Ice/Metrics.rb', line 35

def ice_ids(current=nil)
    ['::Ice::Object', '::IceMX::Metrics']
end

#inspectObject



43
44
45
# File 'lib/Ice/Metrics.rb', line 43

def inspect
    ::Ice::__stringify(self, T_Metrics)
end