com.jdon.controller.pool
接口 Pool

所有已知实现类:
CommonsPoolAdapter

public interface Pool


方法摘要
 Object acquirePoolable()
           
 int getMaxPoolSize()
           
 int getNumActive()
           
 int getNumIdle()
           
 void releasePoolable(Object target)
           
 void setMaxPoolSize(int maxPoolSize)
           
 

方法详细信息

setMaxPoolSize

void setMaxPoolSize(int maxPoolSize)

getMaxPoolSize

int getMaxPoolSize()

acquirePoolable

Object acquirePoolable()
                       throws Exception
抛出:
Exception

releasePoolable

void releasePoolable(Object target)
                     throws Exception
抛出:
Exception

getNumActive

int getNumActive()

getNumIdle

int getNumIdle()


Copyright © 2013. All Rights Reserved.