org.jminor.framework.server.monitor
Class DatabaseMonitor

java.lang.Object
  extended by org.jminor.framework.server.monitor.DatabaseMonitor

public final class DatabaseMonitor
extends Object

A DatabaseMonitor


Constructor Summary
DatabaseMonitor(EntityConnectionServerAdmin server)
           
 
Method Summary
 PoolMonitor getConnectionPoolMonitor()
           
 org.jfree.data.xy.XYSeriesCollection getQueriesPerSecondCollection()
           
 int getStatsUpdateInterval()
           
 EventObserver getStatsUpdateIntervalObserver()
           
 void resetStats()
           
 void setStatsUpdateInterval(int value)
           
 void shutdown()
           
 void updateStats()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseMonitor

public DatabaseMonitor(EntityConnectionServerAdmin server)
                throws RemoteException
Throws:
RemoteException
Method Detail

setStatsUpdateInterval

public void setStatsUpdateInterval(int value)

getStatsUpdateInterval

public int getStatsUpdateInterval()

getConnectionPoolMonitor

public PoolMonitor getConnectionPoolMonitor()

shutdown

public void shutdown()

resetStats

public void resetStats()

updateStats

public void updateStats()
                 throws RemoteException
Throws:
RemoteException

getQueriesPerSecondCollection

public org.jfree.data.xy.XYSeriesCollection getQueriesPerSecondCollection()

getStatsUpdateIntervalObserver

public EventObserver getStatsUpdateIntervalObserver()