Class ConnectionMetrics

All Implemented Interfaces:
Serializable, Cloneable

public class ConnectionMetrics extends Metrics
Provides information on the data sent and received over Ice connections.
See Also:
  • Field Details

    • receivedBytes

      public long receivedBytes
      The number of bytes received by the connection.
    • sentBytes

      public long sentBytes
      The number of bytes sent by the connection.
  • Constructor Details

    • ConnectionMetrics

      public ConnectionMetrics()
    • ConnectionMetrics

      public ConnectionMetrics(String id, long total, int current, long totalLifetime, int failures, long receivedBytes, long sentBytes)
  • Method Details

    • clone

      public ConnectionMetrics 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()
    • ice_id

      public String ice_id()
      Description copied from class: Value
      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.