java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceMX.Metrics
com.zeroc.IceMX.TopicMetrics
- All Implemented Interfaces:
Serializable,Cloneable
Provides information about one or more IceStorm topics.
Remarks:
The Slice compiler generated this class from Slice class ::IceMX::TopicMetrics.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe number of events forwarded on the topic(s) by IceStorm topic links.longThe number of events published on the topic(s) by publishers. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aTopicMetrics.TopicMetrics(String id, long total, int current, long totalLifetime, int failures, long published, long forwarded) Constructs aTopicMetricswith values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
published
public long publishedThe number of events published on the topic(s) by publishers. -
forwarded
public long forwardedThe number of events forwarded on the topic(s) by IceStorm topic links.
-
-
Constructor Details
-
TopicMetrics
public TopicMetrics()Constructs aTopicMetrics. -
TopicMetrics
public TopicMetrics(String id, long total, int current, long totalLifetime, int failures, long published, long forwarded) Constructs aTopicMetricswith 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.published- The number of events published on the topic(s) by publishers.forwarded- The number of events forwarded on the topic(s) by IceStorm topic links.
-
-
Method Details
-
clone
Description copied from class:ValueReturns a shallow field-for-field copy of this object. -
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceMX::TopicMetrics"
-
ice_id
Returns the Slice type ID of the most-derived class supported by this object.
-