java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceMX.Metrics
com.zeroc.IceMX.DispatchMetrics
- All Implemented Interfaces:
Serializable
,Cloneable
Provides information on servant dispatches.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
The size of the replies.long
The size of the incoming requests.int
The number of dispatches that failed with a user exception. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aDispatchMetrics
.DispatchMetrics
(String id, long total, int current, long totalLifetime, int failures, int userException, long size, long replySize) Constructs aDispatchMetrics
with values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
userException
public int userExceptionThe number of dispatches that failed with a user exception. -
size
public long sizeThe size of the incoming requests. This corresponds to the size of the marshaled input parameters. -
replySize
public long replySizeThe size of the replies. This corresponds to the size of the marshaled output and return parameters.
-
-
Constructor Details
-
DispatchMetrics
public DispatchMetrics()Constructs aDispatchMetrics
. -
DispatchMetrics
public DispatchMetrics(String id, long total, int current, long totalLifetime, int failures, int userException, long size, long replySize) Constructs aDispatchMetrics
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.userException
- The number of dispatches that failed with a user exception.size
- The size of the incoming requests.replySize
- The size of the replies.
-
-
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::DispatchMetrics"
-
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.
-