Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.common.monitor.controller.ThreadsCountCollector Class Reference

Inheritance diagram for org.objectweb.cjdbc.common.monitor.controller.ThreadsCountCollector:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.cjdbc.common.monitor.controller.ThreadsCountCollector:

Collaboration graph
[legend]
List of all members.

Public Member Functions

long collectValue ()
String getDescription ()
 ThreadsCountCollector (Object controller)

Detailed Description

Count the total number of threads in the jvm of the Controller

Author:
Nicolas Modrzyk

Definition at line 33 of file ThreadsCountCollector.java.


Constructor & Destructor Documentation

org.objectweb.cjdbc.common.monitor.controller.ThreadsCountCollector.ThreadsCountCollector Object  controller  ) 
 

Creates a new ThreadsCountCollector.java object

Parameters:
controller to collect data from

Definition at line 57 of file ThreadsCountCollector.java.

00058   {
00059     super(controller);
00060   }


Member Function Documentation

long org.objectweb.cjdbc.common.monitor.controller.ThreadsCountCollector.collectValue  )  [virtual]
 

See also:
org.objectweb.cjdbc.common.monitor.AbstractDataCollector.collectValue()

Implements org.objectweb.cjdbc.common.monitor.controller.AbstractControllerDataCollector.

Definition at line 39 of file ThreadsCountCollector.java.

00040   {
00041     return Thread.activeCount();
00042   }

String org.objectweb.cjdbc.common.monitor.controller.ThreadsCountCollector.getDescription  )  [virtual]
 

See also:
org.objectweb.cjdbc.common.monitor.AbstractDataCollector.getDescription()

Implements org.objectweb.cjdbc.common.monitor.AbstractDataCollector.

Definition at line 47 of file ThreadsCountCollector.java.

00048   {
00049     return Translate.get("monitoring.controller.threads.number");
00050   }


The documentation for this class was generated from the following file:
Generated on Mon Apr 11 22:01:56 2005 for C-JDBC by  doxygen 1.3.9.1