java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceMX.Metrics
com.zeroc.IceMX.ChildInvocationMetrics
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
CollocatedMetrics
,RemoteMetrics
Provides information on child invocations. A child invocation is either remote (sent over an Ice connection) or
collocated. An invocation can have multiple child invocations if it is retried. Child invocation metrics are
embedded within
InvocationMetrics
.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
The size of the invocation reply.long
The size of the invocation. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aChildInvocationMetrics
.ChildInvocationMetrics
(String id, long total, int current, long totalLifetime, int failures, long size, long replySize) Constructs aChildInvocationMetrics
with values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
size
public long sizeThe size of the invocation. This corresponds to the size of the marshaled input parameters. -
replySize
public long replySizeThe size of the invocation reply. This corresponds to the size of the marshaled output and return parameters.
-
-
Constructor Details
-
ChildInvocationMetrics
public ChildInvocationMetrics()Constructs aChildInvocationMetrics
. -
ChildInvocationMetrics
public ChildInvocationMetrics(String id, long total, int current, long totalLifetime, int failures, long size, long replySize) Constructs aChildInvocationMetrics
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. -
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceMX::ChildInvocationMetrics"
-
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.
-