org.jminor.framework.server.monitor
Class ConnectionPoolMonitor
java.lang.Object
org.jminor.framework.server.monitor.ConnectionPoolMonitor
public final class ConnectionPoolMonitor
- extends Object
A ConnectionPoolMonitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionPoolMonitor
public ConnectionPoolMonitor(ConnectionPool pool)
throws RemoteException
- Throws:
RemoteException
getUser
public User getUser()
getConnectionPoolStats
public ConnectionPoolStatistics getConnectionPoolStats()
getPooledConnectionTimeout
public int getPooledConnectionTimeout()
throws RemoteException
- Throws:
RemoteException
setPooledConnectionTimeout
public void setPooledConnectionTimeout(int value)
throws RemoteException
- Throws:
RemoteException
getPoolCleanupInterval
public int getPoolCleanupInterval()
throws RemoteException
- Throws:
RemoteException
setPoolCleanupInterval
public void setPoolCleanupInterval(int value)
throws RemoteException
- Throws:
RemoteException
getMinimumPoolSize
public int getMinimumPoolSize()
setMinimumPoolSize
public void setMinimumPoolSize(int value)
throws RemoteException
- Throws:
RemoteException
getMaximumPoolSize
public int getMaximumPoolSize()
setMaximumPoolSize
public void setMaximumPoolSize(int value)
throws RemoteException
- Throws:
RemoteException
getMaximumRetryWaitPeriod
public int getMaximumRetryWaitPeriod()
setMaximumRetryWaitPeriod
public void setMaximumRetryWaitPeriod(int value)
throws RemoteException
- Throws:
RemoteException
getMaximumCheckOutTime
public int getMaximumCheckOutTime()
setMaximumCheckOutTime
public void setMaximumCheckOutTime(int value)
throws RemoteException
- Throws:
RemoteException
getNewConnectionThreshold
public int getNewConnectionThreshold()
setNewConnectionThreshold
public void setNewConnectionThreshold(int value)
throws RemoteException
- Throws:
RemoteException
datasetContainsData
public boolean datasetContainsData()
getInPoolDataSet
public org.jfree.data.xy.XYDataset getInPoolDataSet()
getInPoolDataSetMacro
public org.jfree.data.xy.XYDataset getInPoolDataSetMacro()
getRequestsPerSecondDataSet
public org.jfree.data.xy.XYDataset getRequestsPerSecondDataSet()
getCheckOutTimeCollection
public org.jfree.data.xy.YIntervalSeriesCollection getCheckOutTimeCollection()
resetStats
public void resetStats()
throws RemoteException
- Throws:
RemoteException
resetInPoolStats
public void resetInPoolStats()
setCollectFineGrainedStats
public void setCollectFineGrainedStats(boolean value)
throws RemoteException
- Throws:
RemoteException
isCollectFineGrainedStats
public boolean isCollectFineGrainedStats()
throws RemoteException
- Throws:
RemoteException
setStatsUpdateInterval
public void setStatsUpdateInterval(int value)
getStatsUpdateInterval
public int getStatsUpdateInterval()
shutdown
public void shutdown()
addStatsListener
public void addStatsListener(ActionListener listener)
removeStatsListener
public void removeStatsListener(ActionListener listener)
getCollectFineGrainedStatsObserver
public EventObserver getCollectFineGrainedStatsObserver()
getRefreshObserver
public EventObserver getRefreshObserver()
getStatsObserver
public EventObserver getStatsObserver()
getStatsUpdateIntervalObserver
public EventObserver getStatsUpdateIntervalObserver()