public class DtFetchOperation extends FutureOperation<DtFetchOperation.Response,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<RiakDtPB.DtFetchResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected RiakDtPB.DtFetchResp |
decode(RiakMessage rawMessage) |
Location |
getQueryInfo()
Returns information related to the operation performed.
|
addListener, await, await, cancel, cause, channelMessage, checkAndGetSingleResponse, done, get, get, getNow, isCancelled, isDone, isSuccess, processBatchMessage, processMessage, removeListener, setComplete, setResponse
protected DtFetchOperation.Response convert(List<RiakDtPB.DtFetchResp> rawResponse)
convert
in class FutureOperation<DtFetchOperation.Response,RiakDtPB.DtFetchResp,Location>
protected RiakMessage createChannelMessage()
createChannelMessage
in class FutureOperation<DtFetchOperation.Response,RiakDtPB.DtFetchResp,Location>
protected RiakDtPB.DtFetchResp decode(RiakMessage rawMessage)
decode
in class FutureOperation<DtFetchOperation.Response,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,RiakDtPB.DtFetchResp,Location>
Copyright © 2016. All rights reserved.