public class FetchBucketPropsOperation extends FutureOperation<FetchBucketPropsOperation.Response,com.basho.riak.protobuf.RiakPB.RpbGetBucketResp,Namespace>
Modifier and Type | Class and Description |
---|---|
static class |
FetchBucketPropsOperation.Builder |
static class |
FetchBucketPropsOperation.Response
Response from Fetching a bucket's properties.
|
Constructor and Description |
---|
FetchBucketPropsOperation(FetchBucketPropsOperation.Builder builder) |
Modifier and Type | Method and Description |
---|---|
protected FetchBucketPropsOperation.Response |
convert(List<com.basho.riak.protobuf.RiakPB.RpbGetBucketResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected com.basho.riak.protobuf.RiakPB.RpbGetBucketResp |
decode(RiakMessage rawMessage) |
Namespace |
getQueryInfo()
Returns information related to the operation performed.
|
addListener, await, await, cancel, cause, channelMessage, done, get, get, getNow, isCancelled, isDone, isSuccess, removeListener, setResponse
public FetchBucketPropsOperation(FetchBucketPropsOperation.Builder builder)
protected FetchBucketPropsOperation.Response convert(List<com.basho.riak.protobuf.RiakPB.RpbGetBucketResp> rawResponse)
convert
in class FutureOperation<FetchBucketPropsOperation.Response,com.basho.riak.protobuf.RiakPB.RpbGetBucketResp,Namespace>
protected RiakMessage createChannelMessage()
createChannelMessage
in class FutureOperation<FetchBucketPropsOperation.Response,com.basho.riak.protobuf.RiakPB.RpbGetBucketResp,Namespace>
protected com.basho.riak.protobuf.RiakPB.RpbGetBucketResp decode(RiakMessage rawMessage)
decode
in class FutureOperation<FetchBucketPropsOperation.Response,com.basho.riak.protobuf.RiakPB.RpbGetBucketResp,Namespace>
public Namespace getQueryInfo()
RiakFuture
Useful in async operations when you want to know what operation this future refers to.
getQueryInfo
in interface RiakFuture<FetchBucketPropsOperation.Response,Namespace>
getQueryInfo
in class FutureOperation<FetchBucketPropsOperation.Response,com.basho.riak.protobuf.RiakPB.RpbGetBucketResp,Namespace>
Copyright © 2014. All rights reserved.