java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceMX.Metrics
com.zeroc.IceMX.SubscriberMetrics
- All Implemented Interfaces:
Serializable
,Cloneable
Provides information about IceStorm subscribers.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
The number of forwarded events.int
The number of outstanding events.int
The number of queued events. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aSubscriberMetrics
.SubscriberMetrics
(String id, long total, int current, long totalLifetime, int failures, int queued, int outstanding, long delivered) Constructs aSubscriberMetrics
with values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
queued
public int queuedThe number of queued events. -
outstanding
public int outstandingThe number of outstanding events. -
delivered
public long deliveredThe number of forwarded events.
-
-
Constructor Details
-
SubscriberMetrics
public SubscriberMetrics()Constructs aSubscriberMetrics
. -
SubscriberMetrics
public SubscriberMetrics(String id, long total, int current, long totalLifetime, int failures, int queued, int outstanding, long delivered) Constructs aSubscriberMetrics
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
Description copied from class:Value
Returns a copy of the object. The cloned object contains field-for-field copies of the state. -
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceMX::SubscriberMetrics"
-
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.
-