Cache<Object, Object> cache0 = cache(0);
Cache<Object, Object> cache1 = cache(1);
Cache<Object, Object> cache2 = cache(2);
Cache<Object, Object> cache3 = cache(3);
MagicKey hello = new MagicKey("hello", cache(2));
MagicKey hello2 = new MagicKey("hello2", cache(3));
MagicKey hello3 = new MagicKey("hello3", cache(0));
tm(1).begin();
cache1.put(hello, "world 1");
cache1.put(hello2, "world 1");
cache1.put(hello3, "world 1");