/* JFox, the OpenSource J2EE Application Server
 *
 * Copyright (C) 2002 huihoo.com
 * Distributable under GNU LGPL license
 * See the GNU Lesser General Public License for more details.
 */

package org.huihoo.jfox.pool;

/**
 * 
 * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
 */


public interface SimpleObjectPoolMBean extends ObjectPoolMBean{
  /**
   * 初始化池中对象的数目
   * @return
   */
  int getInitNum();
  /**
   * 池中对象最大的空闲数，超过这个空闲数之后，返回池的对象将不在池中保存
   * @return
   */
  int getMaxRest();
}
