Package com.sleepycat.je.utilint

Examples of com.sleepycat.je.utilint.StoppableThreadFactory$StoppablePoolThread


                                repNode.getRepImpl());
        this.suggestionGenerator = suggestionGenerator;
        this.listener = listener;

        pool = Executors.newCachedThreadPool
            (new StoppableThreadFactory("JE Elections Factory", logger));

    }
View Full Code Here


            new ThreadPoolExecutor(corePoolSize,
                                   maxPoolSize,
                                   keepAliveTime,
                                   TimeUnit.MILLISECONDS,
                                   new ArrayBlockingQueue<Runnable>(1),
                                   new StoppableThreadFactory(envImpl,
                                                              "JEEvictor",
                                                              logger),
                                   rejectHandler);

        runEvictor =
View Full Code Here

                return;
        }
        int threadPoolSize = Math.min(learnerSockets.size(), 10);
        final ExecutorService pool =
            Executors.newFixedThreadPool
               (threadPoolSize, new StoppableThreadFactory("JE Learner",
                                                           logger));
        try {
            RequestMessage masterQuery = protocol.new MasterQuery();
            List<Future<MessageExchange>> futures =
                Utils.broadcastMessage(learnerSockets,
View Full Code Here

TOP

Related Classes of com.sleepycat.je.utilint.StoppableThreadFactory$StoppablePoolThread

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.