Package voldemort.server

Examples of voldemort.server.StatusManager


        this.endpoint = new InetSocketAddress(port);

        this.selectorManagers = new NioSelectorManager[selectors];
        this.selectorManagerThreadPool = Executors.newFixedThreadPool(selectorManagers.length,
                                                                      new DaemonThreadFactory("voldemort-niosocket-server"));
        this.statusManager = new StatusManager((ThreadPoolExecutor) this.selectorManagerThreadPool);
        this.acceptorThread = new Thread(new Acceptor(), "NioSocketService.Acceptor");
    }
View Full Code Here


                                                 0,
                                                 TimeUnit.MILLISECONDS,
                                                 new SynchronousQueue<Runnable>(),
                                                 threadFactory,
                                                 rejectedExecutionHandler);
        this.statusManager = new StatusManager(this.threadPool);
        this.sessionIdSequence = new AtomicLong(0);
        this.activeSessions = new ConcurrentHashMap<Long, SocketServerSession>();
        this.serverName = serverName;
        this.logger = Logger.getLogger(SocketServer.class.getName() + "[" + serverName + "]");
    }
View Full Code Here

TOP

Related Classes of voldemort.server.StatusManager

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.