* @param allocator this is used to allocate any buffers needed
* @param count this is the number of threads per thread pool
* @param select this is the number of selector threads to use
*/
public ContainerSelector(Container handler, Allocator allocator, int count, int select) throws IOException {
this.collect = new PoolExecutor(Reader.class, count);
this.reactor = new ExecutorReactor(collect, select);
this.executor = new PoolExecutor(Dispatcher.class, count);
this.tracker = new CookieTracker();
this.allocator = allocator;
this.handler = handler;
}