public class StoreOperation extends FutureOperation<StoreOperation.Response,RiakKvPB.RpbPutResp,Location>
Modifier and Type | Class and Description |
---|---|
static class |
StoreOperation.Builder |
static class |
StoreOperation.Response
Response returned from a StoreOperation
|
Modifier and Type | Method and Description |
---|---|
protected StoreOperation.Response |
convert(List<RiakKvPB.RpbPutResp> responses) |
protected RiakMessage |
createChannelMessage() |
protected RiakKvPB.RpbPutResp |
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 StoreOperation.Response convert(List<RiakKvPB.RpbPutResp> responses)
convert
in class FutureOperation<StoreOperation.Response,RiakKvPB.RpbPutResp,Location>
protected RiakKvPB.RpbPutResp decode(RiakMessage rawMessage)
decode
in class FutureOperation<StoreOperation.Response,RiakKvPB.RpbPutResp,Location>
protected RiakMessage createChannelMessage()
createChannelMessage
in class FutureOperation<StoreOperation.Response,RiakKvPB.RpbPutResp,Location>
public Location getQueryInfo()
RiakFuture
Useful in async operations when you want to know what operation this future refers to.
getQueryInfo
in interface RiakFuture<StoreOperation.Response,Location>
getQueryInfo
in class FutureOperation<StoreOperation.Response,RiakKvPB.RpbPutResp,Location>
Copyright © 2016. All rights reserved.