1 14 15 package org.quickserver.net.server; 16 17 import org.apache.commons.pool.*; 18 import org.quickserver.util.pool.thread.ClientPool; 19 import org.quickserver.util.xmlreader.PoolConfig; 20 21 26 public interface PoolManager { 27 public ObjectPool makeByteBufferPool(PoolableObjectFactory factory, PoolConfig opConfig); 28 public ObjectPool makeClientPool(PoolableObjectFactory factory, PoolConfig opConfig); 29 public ObjectPool makeClientHandlerPool(PoolableObjectFactory factory, PoolConfig opConfig); 30 public ObjectPool makeClientDataPool(PoolableObjectFactory factory, PoolConfig opConfig); 31 public void initPool(ObjectPool objectPool, PoolConfig opConfig); 32 } 33 | Popular Tags |