for(int i=0; i<100000; i++){
rand.nextBytes(data);
pipeline.set("random:"+i, "value:" + rand.nextInt());
}
String randomVal = toStr (pipeline.sync().get("random:"+999));
System.out.format ("end using sync() = %d msec\n", System.currentTimeMillis() - start);
System.out.format("%s => %d\n", cntrKey, cntr);
System.out.format("%s => %s\n", "random:"+999, randomVal);