It would be great if Future objects provided by spymemcached allows callbacks
registration to be notified when they are completed. It would be pretty useful
to avoid blocking threads waiting for an answer.
It could be something like :
client.asyncGet("myKey").onComplete(new CompleteCallback<GetFuture<Object>>() {
public void complete(GetFuture<Object> future) {
// do something useful with future.get() as it should not block here
}
});
Original issue reported on code.google.com by mathieu.ancelin on 24 May 2013 at 9:23
Original issue reported on code.google.com by
mathieu.ancelin
on 24 May 2013 at 9:23