java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceMX.Metrics
com.zeroc.IceMX.InvocationMetrics
- All Implemented Interfaces:
Serializable,Cloneable
Provide measurements for proxy invocations. Proxy invocations can either be sent over the wire or be collocated.
Remarks:
The Slice compiler generated this class from Slice class ::IceMX::InvocationMetrics.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aInvocationMetrics.InvocationMetrics(String id, long total, int current, long totalLifetime, int failures, int retry, int userException, Metrics[] remotes, Metrics[] collocated) Constructs aInvocationMetricswith values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
retry
public int retryThe number of retries for the invocations. -
userException
public int userExceptionThe number of invocations that failed with a user exception. -
remotes
The remote invocation metrics map.- See Also:
-
collocated
The collocated invocation metrics map.- See Also:
-
-
Constructor Details
-
InvocationMetrics
public InvocationMetrics()Constructs aInvocationMetrics. -
InvocationMetrics
public InvocationMetrics(String id, long total, int current, long totalLifetime, int failures, int retry, int userException, Metrics[] remotes, Metrics[] collocated) Constructs aInvocationMetricswith 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.retry- The number of retries for the invocations.userException- The number of invocations that failed with a user exception.remotes- The remote invocation metrics map.collocated- The collocated invocation metrics map.
-
-
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::InvocationMetrics"
-
ice_id
Returns the Slice type ID of the most-derived class supported by this object.
-