net.sf.jso.sql
Interface ConnectionPoolInfo

All Known Implementing Classes:
DynamicPool, NoPool, SimplePool

public interface ConnectionPoolInfo

Interface for use information of a connection pool.


Method Summary
 int capacity()
          Informs the maximum pool size.
 int idle()
          Informs the number of idle connections available fom immediate use.
 int inUse()
          Informs the pool usage.
 int size()
          Informs the current pool size.
 

Method Detail

capacity

public int capacity()
Informs the maximum pool size.

Returns:
The maxmimum number of connections the pool is able to manage.

size

public int size()
Informs the current pool size.

Returns:
The number of connections the pool is managing.

idle

public int idle()
Informs the number of idle connections available fom immediate use.

Returns:
The number of idle connections.

inUse

public int inUse()
Informs the pool usage.

Returns:
The number connections in use by the pool.