Class ThreadMetrics

All Implemented Interfaces:
Serializable, Cloneable

public class ThreadMetrics extends Metrics
Provides information on the number of threads currently in use and their activity.
See Also:
  • Field Details

    • inUseForIO

      public int inUseForIO
      The number of threads which are currently performing socket read or writes.
    • inUseForUser

      public int inUseForUser
      The number of threads which are currently calling user code (servant dispatch, AMI callbacks, etc).
    • inUseForOther

      public int inUseForOther
      The number of threads which are currently performing other activities. These are all other that are not counted with inUseForUser or inUseForIO, such as DNS lookups, garbage collection).
  • Constructor Details

    • ThreadMetrics

      public ThreadMetrics()
    • ThreadMetrics

      public ThreadMetrics(String id, long total, int current, long totalLifetime, int failures, int inUseForIO, int inUseForUser, int inUseForOther)
  • Method Details

    • clone

      public ThreadMetrics clone()
      Description copied from class: Value
      Returns a copy of the object. The cloned object contains field-for-field copies of the state.
      Overrides:
      clone in class Metrics
      Returns:
      The cloned object.
    • ice_staticId

      public static String ice_staticId()
    • ice_id

      public String ice_id()
      Description copied from class: Value
      Returns the Slice type ID of the most-derived interface supported by this object.
      Overrides:
      ice_id in class Metrics
      Returns:
      The return value is always ::Ice::Object.