Class: IceMX::SessionMetrics
- Inherits:
-
Metrics
- Object
- Ice::Value
- Metrics
- IceMX::SessionMetrics
- Defined in:
- lib/Glacier2/Metrics.rb
Instance Attribute Summary collapse
-
#forwardedClient ⇒ Object
Returns the value of attribute forwardedClient.
-
#forwardedServer ⇒ Object
Returns the value of attribute forwardedServer.
-
#overriddenClient ⇒ Object
Returns the value of attribute overriddenClient.
-
#overriddenServer ⇒ Object
Returns the value of attribute overriddenServer.
-
#queuedClient ⇒ Object
Returns the value of attribute queuedClient.
-
#queuedServer ⇒ Object
Returns the value of attribute queuedServer.
-
#routingTableSize ⇒ Object
Returns the value of attribute routingTableSize.
Attributes inherited from Metrics
#current, #failures, #id, #total, #totalLifetime
Attributes inherited from Ice::Value
Instance Method Summary collapse
-
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, forwardedClient = 0, forwardedServer = 0, routingTableSize = 0, queuedClient = 0, queuedServer = 0, overriddenClient = 0, overriddenServer = 0) ⇒ SessionMetrics
constructor
A new instance of SessionMetrics.
Methods inherited from Ice::Value
#ice_getSlicedData, #ice_id, ice_staticId, #inspect
Constructor Details
#initialize(id = '', total = 0, current = 0, totalLifetime = 0, failures = 0, forwardedClient = 0, forwardedServer = 0, routingTableSize = 0, queuedClient = 0, queuedServer = 0, overriddenClient = 0, overriddenServer = 0) ⇒ SessionMetrics
Returns a new instance of SessionMetrics.
28 29 30 31 32 33 34 35 36 37 |
# File 'lib/Glacier2/Metrics.rb', line 28 def initialize(id='', total=0, current=0, totalLifetime=0, failures=0, forwardedClient=0, forwardedServer=0, routingTableSize=0, queuedClient=0, queuedServer=0, overriddenClient=0, overriddenServer=0) super(id, total, current, totalLifetime, failures) @forwardedClient = forwardedClient @forwardedServer = forwardedServer @routingTableSize = routingTableSize @queuedClient = queuedClient @queuedServer = queuedServer @overriddenClient = overriddenClient @overriddenServer = overriddenServer end |
Instance Attribute Details
#forwardedClient ⇒ Object
Returns the value of attribute forwardedClient.
39 40 41 |
# File 'lib/Glacier2/Metrics.rb', line 39 def forwardedClient @forwardedClient end |
#forwardedServer ⇒ Object
Returns the value of attribute forwardedServer.
39 40 41 |
# File 'lib/Glacier2/Metrics.rb', line 39 def forwardedServer @forwardedServer end |
#overriddenClient ⇒ Object
Returns the value of attribute overriddenClient.
39 40 41 |
# File 'lib/Glacier2/Metrics.rb', line 39 def overriddenClient @overriddenClient end |
#overriddenServer ⇒ Object
Returns the value of attribute overriddenServer.
39 40 41 |
# File 'lib/Glacier2/Metrics.rb', line 39 def overriddenServer @overriddenServer end |
#queuedClient ⇒ Object
Returns the value of attribute queuedClient.
39 40 41 |
# File 'lib/Glacier2/Metrics.rb', line 39 def queuedClient @queuedClient end |
#queuedServer ⇒ Object
Returns the value of attribute queuedServer.
39 40 41 |
# File 'lib/Glacier2/Metrics.rb', line 39 def queuedServer @queuedServer end |
#routingTableSize ⇒ Object
Returns the value of attribute routingTableSize.
39 40 41 |
# File 'lib/Glacier2/Metrics.rb', line 39 def routingTableSize @routingTableSize end |