java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceMX.Metrics
com.zeroc.IceMX.ChildInvocationMetrics
com.zeroc.IceMX.CollocatedMetrics
- All Implemented Interfaces:
Serializable
,Cloneable
Provides information on invocations that are collocated. Collocated metrics are embedded within
InvocationMetrics
.- See Also:
-
Field Summary
Fields inherited from class com.zeroc.IceMX.ChildInvocationMetrics
replySize, size
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aCollocatedMetrics
.CollocatedMetrics
(String id, long total, int current, long totalLifetime, int failures, long size, long replySize) Constructs aCollocatedMetrics
with values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Constructor Details
-
CollocatedMetrics
public CollocatedMetrics()Constructs aCollocatedMetrics
. -
CollocatedMetrics
public CollocatedMetrics(String id, long total, int current, long totalLifetime, int failures, long size, long replySize) Constructs aCollocatedMetrics
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
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 classChildInvocationMetrics
- Returns:
- The cloned object.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceMX::CollocatedMetrics"
-
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.- Overrides:
ice_id
in classChildInvocationMetrics
- Returns:
- The return value is always
::Ice::Object
.
-