Package org.ryant.tubesock.core.manager.thread

Examples of org.ryant.tubesock.core.manager.thread.ServerThread


        streamReferences = new ConcurrentHashMap<String, InputStream>();
        handlerService = new ThreadPoolExecutor(maxConcurrent, maxConcurrent,
                                                1, TimeUnit.MINUTES,
                                                new LinkedBlockingQueue<Runnable>(),
                                                new SocketHandlerThreadFactory());
        serverThread = new ServerThread(handlerService, streamReferences, port, connectionTimeoutMillis, maxConcurrent);
        evictionTimer = new Timer("EvictionTimer-" + port, true);
    }
View Full Code Here

TOP

Related Classes of org.ryant.tubesock.core.manager.thread.ServerThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.