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