basho/riak-java-client — pull request #394 by broach (2014-03-23 07:46:06+00:00)
Title: Riakfuture redesign

This changes our RiakFuture in the core to be much like a Netty future.

The big win is rather than just throwing exceptions, it indicates that the operation failed and the new `FailureInfo` class encapsulates the exception thrown, as well as identifying information about the query. This makes the `RiakFutureListener` far more complete/useful as you don't just get an exception - the `FailureInfo` contains identifying information about the operation (usually a `Location`).