Cache cache1 = cache(0,"futureRepl");
//never mind use of KeyValueCommand, the point is that callback is called and completes without Exceptions thrown
final AtomicBoolean futureDoneOk = new AtomicBoolean();
NotifyingFutureImpl f = new NotifyingFutureImpl(new Integer(2));
f.attachListener(new FutureListener<Object>() {
@Override
public void futureDone(Future<Object> future) {
try {
future.get();