org.rimudb.pool
Class PoolStatistic

java.lang.Object
  extended by org.rimudb.pool.PoolStatistic

public class PoolStatistic
extends java.lang.Object

This JavaBean class holds connection pool statistics


Constructor Summary
PoolStatistic()
           
 
Method Summary
 int getActiveConnections()
          Return the number of active connections in the pool.
 int getConnectionsInPool()
           
 int getIdleConnections()
          Return the number of idle connections in the pool.
 int getMaximumConnections()
           
 java.lang.String getPoolName()
           
 java.lang.String getSummary()
           
 long getTimeBetweenEvictionRunsMillis()
           
 java.lang.String getUrl()
           
 void setActiveConnections(int activeConnections)
           
 void setConnectionsInPool(int connectionsInPool)
           
 void setIdleConnections(int idleConnections)
           
 void setMaximumConnections(int maximumConnections)
           
 void setPoolName(java.lang.String poolName)
           
 void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolStatistic

public PoolStatistic()
Method Detail

getPoolName

public java.lang.String getPoolName()

setPoolName

public void setPoolName(java.lang.String poolName)

getConnectionsInPool

public int getConnectionsInPool()

setConnectionsInPool

public void setConnectionsInPool(int connectionsInPool)

getMaximumConnections

public int getMaximumConnections()

setMaximumConnections

public void setMaximumConnections(int maximumConnections)

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)

setIdleConnections

public void setIdleConnections(int idleConnections)

getIdleConnections

public int getIdleConnections()
Return the number of idle connections in the pool.

Returns:
int

setActiveConnections

public void setActiveConnections(int activeConnections)

getActiveConnections

public int getActiveConnections()
Return the number of active connections in the pool.

Returns:
int

setTimeBetweenEvictionRunsMillis

public void setTimeBetweenEvictionRunsMillis(long timeBetweenEvictionRunsMillis)
Parameters:
timeBetweenEvictionRunsMillis -

getTimeBetweenEvictionRunsMillis

public long getTimeBetweenEvictionRunsMillis()

getSummary

public java.lang.String getSummary()


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.