for(int poolSize: new int[] { 1, 5, 10 }) {
System.out.println("Perf test for voldemort pool with numThreads = " + numThreads
+ ", poolSize = " + poolSize + ":");
final KeyedResourcePool<Integer, String> pool = KeyedResourcePool.create(new StringResourceFactory(),
new ResourcePoolConfig().setMaxPoolSize(poolSize)
.setIsFair(true));
PerformanceTest test = new PerformanceTest() {
@Override
public void doOperation(int id) throws Exception {