Class SessionMetrics

All Implemented Interfaces:
Serializable, Cloneable

public class SessionMetrics extends Metrics
Provides information about Glacier2 sessions.
See Also:
  • Field Details

    • forwardedClient

      public int forwardedClient
      The number of client requests forwarded.
    • forwardedServer

      public int forwardedServer
      The number of server requests forwarded.
    • routingTableSize

      public int routingTableSize
      The size of the routing table.
    • queuedClient

      public int queuedClient
      The number of client requests queued.
    • queuedServer

      public int queuedServer
      The number of server requests queued.
    • overriddenClient

      public int overriddenClient
      The number of client requests overridden.
    • overriddenServer

      public int overriddenServer
      The number of server requests overridden.
  • Constructor Details

    • SessionMetrics

      public SessionMetrics()
      Constructs a SessionMetrics.
    • SessionMetrics

      public SessionMetrics(String id, long total, int current, long totalLifetime, int failures, int forwardedClient, int forwardedServer, int routingTableSize, int queuedClient, int queuedServer, int overriddenClient, int overriddenServer)
      Constructs a SessionMetrics with values for all its fields.
      Parameters:
      id - The metrics identifier.
      total - The total number of objects observed by this metrics.
      current - The number of objects currently observed by this metrics.
      totalLifetime - The sum of the lifetime of each observed objects.
      failures - The number of failures observed.
      forwardedClient - The number of client requests forwarded.
      forwardedServer - The number of server requests forwarded.
      routingTableSize - The size of the routing table.
      queuedClient - The number of client requests queued.
      queuedServer - The number of server requests queued.
      overriddenClient - The number of client requests overridden.
      overriddenServer - The number of server requests overridden.
  • Method Details

    • clone

      public SessionMetrics clone()
      Description copied from class: Value
      Returns a copy of the object. The cloned object contains field-for-field copies of the state.
      Overrides:
      clone in class Metrics
      Returns:
      The cloned object.
    • ice_staticId

      public static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::IceMX::SessionMetrics"
    • ice_id

      public String ice_id()
      Returns the Slice type ID of the most-derived interface supported by this object.
      Overrides:
      ice_id in class Metrics
      Returns:
      The return value is always ::Ice::Object.