org.springframework.aop.target
Interface PoolingConfig

All Known Implementing Classes:
AbstractPoolingTargetSource

public interface PoolingConfig

Config interface for a pooling target source.

Author:
Rod Johnson, Juergen Hoeller

Method Summary
 int getActive()
          Deprecated. in favor of getActiveCount
 int getActiveCount()
          Return the number of active objects in the pool.
 int getFree()
          Deprecated. in favor of getIdleCount
 int getIdleCount()
          Return the number of idle objects in the pool.
 int getMaxSize()
          Return the maximum size of the pool.
 

Method Detail

getMaxSize

public int getMaxSize()
Return the maximum size of the pool.


getActiveCount

public int getActiveCount()
                   throws UnsupportedOperationException
Return the number of active objects in the pool.

Throws:
UnsupportedOperationException - if not supported by the pool

getIdleCount

public int getIdleCount()
                 throws UnsupportedOperationException
Return the number of idle objects in the pool.

Throws:
UnsupportedOperationException - if not supported by the pool

getActive

public int getActive()
              throws UnsupportedOperationException
Deprecated. in favor of getActiveCount

Throws:
UnsupportedOperationException
See Also:
getActiveCount()

getFree

public int getFree()
            throws UnsupportedOperationException
Deprecated. in favor of getIdleCount

Throws:
UnsupportedOperationException
See Also:
getIdleCount()


Copyright (C) 2003-2004 The Spring Framework Project.