org.huihoo.jfox.pool
Interface SimpleObjectPoolMBean

All Superinterfaces:
Component, ComponentSupportMBean, Loggable, ObjectPoolMBean, Persistentable, java.io.Serializable
All Known Implementing Classes:
SimpleObjectPool

public interface SimpleObjectPoolMBean
extends ObjectPoolMBean

Author:
Young Yang

Method Summary
 int getInitNum()
          初始化池中对象的数目
 int getMaxRest()
          池中对象最大的空闲数,超过这个空闲数之后,返回池的对象将不在池中保存
 
Methods inherited from interface org.huihoo.jfox.pool.ObjectPoolMBean
clear, getObjectClass, getObjectFactory, getRest, getWorking
 
Methods inherited from interface org.huihoo.jfox.service.ComponentSupportMBean
getObjectName, getProxyInstance
 
Methods inherited from interface org.huihoo.jfox.service.Component
destroy, getName, getState, init
 
Methods inherited from interface org.huihoo.jfox.service.Loggable
getLogger
 

Method Detail

getInitNum

public int getInitNum()
初始化池中对象的数目
Returns:
 

getMaxRest

public int getMaxRest()
池中对象最大的空闲数,超过这个空闲数之后,返回池的对象将不在池中保存
Returns: