org.objectweb.cjdbc.controller.monitoring
Class Monitoring

java.lang.Object
  extended byorg.objectweb.cjdbc.controller.monitoring.Monitoring
All Implemented Interfaces:
XmlComponent
Direct Known Subclasses:
SQLMonitoring

public abstract class Monitoring
extends java.lang.Object
implements XmlComponent

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

Field Summary
(package private)  boolean active
           
 
Fields inherited from interface org.objectweb.cjdbc.common.xml.XmlComponent
DOCTYPE_CONTROLLER, DOCTYPE_DB, XML_VERSION
 
Constructor Summary
Monitoring()
           
 
Method Summary
abstract  void cleanStats()
          Clean the content of statistics, to avoid memory problems.
abstract  void dumpAllStatsInformation()
          Dump all stats using the current logger (INFO level).
abstract  java.lang.String[][] getAllStatsInformation()
          Return all stats information in the form of a String
 java.lang.String getXml()
          Get xml formatted representation of this cjdbc component
protected abstract  java.lang.String getXmlImpl()
          Get implementation information
 boolean isActive()
          Returns the active value.
 void setActive(boolean active)
          Sets the active value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

active

boolean active
Constructor Detail

Monitoring

public Monitoring()
Method Detail

getAllStatsInformation

public abstract java.lang.String[][] getAllStatsInformation()
Return all stats information in the form of a String

Returns:
stats information

dumpAllStatsInformation

public abstract void dumpAllStatsInformation()
Dump all stats using the current logger (INFO level).


cleanStats

public abstract void cleanStats()
Clean the content of statistics, to avoid memory problems.


getXml

public java.lang.String getXml()
Description copied from interface: XmlComponent
Get xml formatted representation of this cjdbc component

Specified by:
getXml in interface XmlComponent
Returns:
xml formatted fragment
See Also:
XmlComponent.getXml()

getXmlImpl

protected abstract java.lang.String getXmlImpl()
Get implementation information


isActive

public boolean isActive()
Returns the active value.

Returns:
Returns the active.

setActive

public void setActive(boolean active)
Sets the active value.

Parameters:
active - The active to set.


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.