Package com.rackspacecloud.blueflood.concurrent

Examples of com.rackspacecloud.blueflood.concurrent.ThreadPoolBuilder


        answers.put(locators.get(1), answerForStringMetric);
    }

    @Test
    public void testBatchGet() throws Exception {
        ThreadPoolExecutor executor = new ThreadPoolBuilder().withBoundedQueue(10)
                .withCorePoolSize(1).withMaxPoolSize(1).withName("TestBatchQuery").build();
        BatchMetricsQueryHandler batchMetricsQueryHandler = new BatchMetricsQueryHandler(executor,
                AstyanaxReader.getInstance());
       
        // let's make the executor a little slow
View Full Code Here

TOP

Related Classes of com.rackspacecloud.blueflood.concurrent.ThreadPoolBuilder

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.