Class SubscriberMetrics

All Implemented Interfaces:
Serializable, Cloneable

public class SubscriberMetrics extends Metrics
Provides information about IceStorm subscribers.
See Also:
  • Field Details

    • queued

      public int queued
      The number of queued events.
    • outstanding

      public int outstanding
      The number of outstanding events.
    • delivered

      public long delivered
      The number of forwarded events.
  • Constructor Details

    • SubscriberMetrics

      public SubscriberMetrics()
      Constructs a SubscriberMetrics.
    • SubscriberMetrics

      public SubscriberMetrics(String id, long total, int current, long totalLifetime, int failures, int queued, int outstanding, long delivered)
      Constructs a SubscriberMetrics 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.
      queued - The number of queued events.
      outstanding - The number of outstanding events.
      delivered - The number of forwarded events.
  • Method Details

    • clone

      public SubscriberMetrics 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::SubscriberMetrics"
    • 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.