public class DtFetchOperation extends FutureOperation<DtFetchOperation.Response,com.basho.riak.protobuf.RiakDtPB.DtFetchResp,Location>
Modifier and Type | Class and Description |
---|---|
static class |
DtFetchOperation.Builder |
static class |
DtFetchOperation.Response |
Modifier and Type | Method and Description |
---|---|
protected DtFetchOperation.Response |
convert(List<com.basho.riak.protobuf.RiakDtPB.DtFetchResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected com.basho.riak.protobuf.RiakDtPB.DtFetchResp |
decode(RiakMessage rawMessage) |
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 DtFetchOperation.Response convert(List<com.basho.riak.protobuf.RiakDtPB.DtFetchResp> rawResponse)
convert
in class FutureOperation<DtFetchOperation.Response,com.basho.riak.protobuf.RiakDtPB.DtFetchResp,Location>
protected RiakMessage createChannelMessage()
createChannelMessage
in class FutureOperation<DtFetchOperation.Response,com.basho.riak.protobuf.RiakDtPB.DtFetchResp,Location>
protected com.basho.riak.protobuf.RiakDtPB.DtFetchResp decode(RiakMessage rawMessage)
decode
in class FutureOperation<DtFetchOperation.Response,com.basho.riak.protobuf.RiakDtPB.DtFetchResp,Location>
public Location getQueryInfo()
RiakFuture
Useful in async operations when you want to know what operation this future refers to.
getQueryInfo
in interface RiakFuture<DtFetchOperation.Response,Location>
getQueryInfo
in class FutureOperation<DtFetchOperation.Response,com.basho.riak.protobuf.RiakDtPB.DtFetchResp,Location>
Copyright © 2014. All rights reserved.