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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The number of threads which are currently performing socket reads or writes.int
The number of threads which are currently performing other activities such as DNS lookups, garbage collection, etc.int
The 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 aThreadMetrics
with 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 ininUseForUser
orinUseForIO
.
-
-
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 aThreadMetrics
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.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: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::ThreadMetrics"
-
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.
-