DiagnosticThread (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.common.DiagnosticThread class

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.hq.common
Class DiagnosticThread

    java.lang.Object
      org.hyperic.hq.common.DiagnosticThread

All Implemented Interfaces:
  java.lang.Runnable

    public class DiagnosticThread

extends java.lang.Object
implements java.lang.Runnable

The DiagnosticThread is a simple object running within the server that prints diagnostic information to the server log for objects that have been registered via addDiagnosticObject(). The DiagnosticThread does not start until the first DiagnosticObject has been added to the list.

Method Summary
`static void` | `addDiagnosticObject(DiagnosticObject o)`
`static java.util.Collection` | `getDiagnosticObjects()`
`long` | `getInterval()`
`void` | `run()`
`static void` | `setInterval(long interval)` Set the interval at which the DiagnosticThread will print status info

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInterval

    public long getInterval()

### setInterval

    public static void setInterval(long interval)

  Set the interval at which the DiagnosticThread will print status info

  Parameters:
    `interval` - The interval in milliseconds. XXX -- Technically, access to interval should be synchronized

### addDiagnosticObject

    public static void addDiagnosticObject(DiagnosticObject o)

### getDiagnosticObjects

    public static java.util.Collection getDiagnosticObjects()

### run

    public void run()

  Specified by:
    `run` in interface `java.lang.Runnable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.