java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceMX.Metrics
com.zeroc.IceMX.ThreadMetrics
- All Implemented Interfaces:
Serializable,Cloneable
Provides information on the number of threads currently in use and their activity.
Remarks:
The Slice compiler generated this class from Slice class ::IceMX::ThreadMetrics.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of threads which are currently performing socket reads or writes.intThe number of threads which are currently performing other activities such as DNS lookups, garbage collection, etc.intThe number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc). -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aThreadMetrics.ThreadMetrics(String id, long total, int current, long totalLifetime, int failures, int inUseForIO, int inUseForUser, int inUseForOther) Constructs aThreadMetricswith values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
inUseForIO
public int inUseForIOThe number of threads which are currently performing socket reads or writes. -
inUseForUser
public int inUseForUserThe number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc). -
inUseForOther
public int inUseForOtherThe number of threads which are currently performing other activities such as DNS lookups, garbage collection, etc. These are all the other threads created by the Ice runtime that are not counted ininUseForUserorinUseForIO.
-
-
Constructor Details
-
ThreadMetrics
public ThreadMetrics()Constructs aThreadMetrics. -
ThreadMetrics
public ThreadMetrics(String id, long total, int current, long totalLifetime, int failures, int inUseForIO, int inUseForUser, int inUseForOther) Constructs aThreadMetricswith 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.inUseForIO- The number of threads which are currently performing socket reads or writes.inUseForUser- The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).inUseForOther- The number of threads which are currently performing other activities such as DNS lookups, garbage collection, etc.
-
-
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::ThreadMetrics"
-
ice_id
Returns the Slice type ID of the most-derived class supported by this object.
-