站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 1.2.9 API 文档英文版

PoolingConfig (Spring Framework) - Spring Framework 1.2.9 API 文档英文版


org.springframework.aop.target
Interface PoolingConfig

All Known Implementing Classes:
AbstractPoolingTargetSource, CommonsPoolTargetSource

public interface PoolingConfig

Config interface for a pooling target source.

Author:
Rod Johnson, Juergen Hoeller

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

Method Detail

getMaxSize

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


getActiveCount

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

Throws:
UnsupportedOperationException - if not supported by the pool

getIdleCount

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

Throws:
UnsupportedOperationException - if not supported by the pool


Copyright (c) 2002-2007 The Spring Framework Project.