public class FetchOperation extends FutureOperation<FetchOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbGetResp,Location>
Modifier and Type | Class and Description |
---|---|
static class |
FetchOperation.Builder |
protected static class |
FetchOperation.KvResponseBase |
static class |
FetchOperation.Response |
Modifier and Type | Method and Description |
---|---|
protected FetchOperation.Response |
convert(List<com.basho.riak.protobuf.RiakKvPB.RpbGetResp> responses) |
protected RiakMessage |
createChannelMessage() |
protected com.basho.riak.protobuf.RiakKvPB.RpbGetResp |
decode(RiakMessage message) |
Location |
getQueryInfo()
Returns information related to the operation performed.
|
addListener, await, await, cancel, cause, channelMessage, done, get, get, getNow, isCancelled, isDone, isSuccess, removeListener, setResponse
protected com.basho.riak.protobuf.RiakKvPB.RpbGetResp decode(RiakMessage message)
decode
in class FutureOperation<FetchOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbGetResp,Location>
protected FetchOperation.Response convert(List<com.basho.riak.protobuf.RiakKvPB.RpbGetResp> responses)
convert
in class FutureOperation<FetchOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbGetResp,Location>
protected RiakMessage createChannelMessage()
createChannelMessage
in class FutureOperation<FetchOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbGetResp,Location>
public Location getQueryInfo()
RiakFuture
Useful in async operations when you want to know what operation this future refers to.
getQueryInfo
in interface RiakFuture<FetchOperation.Response,Location>
getQueryInfo
in class FutureOperation<FetchOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbGetResp,Location>
Copyright © 2014. All rights reserved.