Class CollocatedMetrics

All Implemented Interfaces:
Serializable, Cloneable

public class CollocatedMetrics extends ChildInvocationMetrics
Provides information on invocations that are collocated. Collocated metrics are embedded within InvocationMetrics.

Remarks: The Slice compiler generated this class from Slice class ::IceMX::CollocatedMetrics.

See Also:
  • Constructor Details

    • CollocatedMetrics

      public CollocatedMetrics()
      Constructs a CollocatedMetrics.
    • CollocatedMetrics

      public CollocatedMetrics(String id, long total, int current, long totalLifetime, int failures, long size, long replySize)
      Constructs a CollocatedMetrics 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.
      size - The size of the invocation.
      replySize - The size of the invocation reply.
  • Method Details

    • clone

      public CollocatedMetrics clone()
      Description copied from class: Value
      Returns a shallow field-for-field copy of this object.
      Overrides:
      clone in class ChildInvocationMetrics
      Returns:
      the cloned object
    • ice_staticId

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

      public String ice_id()
      Returns the Slice type ID of the most-derived class supported by this object.
      Overrides:
      ice_id in class ChildInvocationMetrics
      Returns:
      the Slice type ID