01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.com
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package org.huihoo.jfox.pool;
09:
10: /**
11: *
12: * @author <a href="mailto:young_yy@hotmail.com">Young Yang</a>
13: */
14:
15: public interface SimpleObjectPoolMBean extends ObjectPoolMBean {
16: /**
17: * 初始化池中对象的数目
18: * @return
19: */
20: int getInitNum();
21:
22: /**
23: * 池中对象最大的空闲数,超过这个空闲数之后,返回池的对象将不在池中保存
24: * @return
25: */
26: int getMaxRest();
27: }
|