public class FetchOperation extends FutureOperation<FetchOperation.Response,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<RiakKvPB.RpbGetResp> responses) |
protected RiakMessage |
createChannelMessage() |
protected RiakKvPB.RpbGetResp |
decode(RiakMessage message) |
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, setResponseprotected RiakKvPB.RpbGetResp decode(RiakMessage message)
decode in class FutureOperation<FetchOperation.Response,RiakKvPB.RpbGetResp,Location>protected FetchOperation.Response convert(List<RiakKvPB.RpbGetResp> responses)
convert in class FutureOperation<FetchOperation.Response,RiakKvPB.RpbGetResp,Location>protected RiakMessage createChannelMessage()
createChannelMessage in class FutureOperation<FetchOperation.Response,RiakKvPB.RpbGetResp,Location>public Location getQueryInfo()
RiakFutureUseful 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,RiakKvPB.RpbGetResp,Location>Copyright © 2016. All rights reserved.