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

org.objectweb.cjdbc.controller.monitoring.Monitoring Class Reference

Inheritance diagram for org.objectweb.cjdbc.controller.monitoring.Monitoring:

Inheritance graph
[legend]
List of all members.

Public Member Functions

abstract String[][] getAllStatsInformation ()
abstract void dumpAllStatsInformation ()
abstract void cleanStats ()
String getXml ()
boolean isActive ()
void setActive (boolean active)

Protected Member Functions

abstract String getXmlImpl ()

Package Attributes

boolean active

Detailed Description

Author:
niko
To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Definition at line 18 of file Monitoring.java.


Member Function Documentation

abstract void org.objectweb.cjdbc.controller.monitoring.Monitoring.cleanStats  )  [pure virtual]
 

Clean the content of statistics, to avoid memory problems.

Implemented in org.objectweb.cjdbc.controller.monitoring.SQLMonitoring.

abstract void org.objectweb.cjdbc.controller.monitoring.Monitoring.dumpAllStatsInformation  )  [pure virtual]
 

Dump all stats using the current logger (INFO level).

Implemented in org.objectweb.cjdbc.controller.monitoring.SQLMonitoring.

abstract String [][] org.objectweb.cjdbc.controller.monitoring.Monitoring.getAllStatsInformation  )  [pure virtual]
 

Return all stats information in the form of a String

Returns:
stats information

Implemented in org.objectweb.cjdbc.controller.monitoring.SQLMonitoring.

String org.objectweb.cjdbc.controller.monitoring.Monitoring.getXml  ) 
 

See also:
org.objectweb.cjdbc.common.xml.XmlComponent.getXml()

Definition at line 41 of file Monitoring.java.

References org.objectweb.cjdbc.controller.monitoring.Monitoring.getXmlImpl().

00042   {
00043     StringBuffer info = new StringBuffer();
00044     info.append("<"+DatabasesXmlTags.ELT_Monitoring+">");
00045     info.append(getXmlImpl());
00046     info.append("</"+DatabasesXmlTags.ELT_Monitoring+">");
00047     return info.toString();
00048   }

abstract String org.objectweb.cjdbc.controller.monitoring.Monitoring.getXmlImpl  )  [protected, pure virtual]
 

Get implementation information

Implemented in org.objectweb.cjdbc.controller.monitoring.SQLMonitoring.

Referenced by org.objectweb.cjdbc.controller.monitoring.Monitoring.getXml().

boolean org.objectweb.cjdbc.controller.monitoring.Monitoring.isActive  ) 
 

Returns the active value.

Returns:
Returns the active.

Definition at line 58 of file Monitoring.java.

00059   {
00060     return active;
00061   }

void org.objectweb.cjdbc.controller.monitoring.Monitoring.setActive boolean  active  ) 
 

Sets the active value.

Parameters:
active The active to set.

Definition at line 67 of file Monitoring.java.

00068   {
00069     this.active = active;
00070   }


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