public class ListBucketsOperation extends FutureOperation<ListBucketsOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp,BinaryValue>
| Modifier and Type | Class and Description |
|---|---|
static class |
ListBucketsOperation.Builder |
static class |
ListBucketsOperation.Response |
| Modifier and Type | Method and Description |
|---|---|
protected ListBucketsOperation.Response |
convert(List<com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp> rawResponse) |
protected RiakMessage |
createChannelMessage() |
protected com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp |
decode(RiakMessage rawMessage) |
protected boolean |
done(com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp message)
Detect when the streaming operation is finished
|
BinaryValue |
getQueryInfo()
Returns information related to the operation performed.
|
addListener, await, await, cancel, cause, channelMessage, get, get, getNow, isCancelled, isDone, isSuccess, removeListener, setResponseprotected boolean done(com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp message)
FutureOperationdone in class FutureOperation<ListBucketsOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp,BinaryValue>message - raw messageprotected ListBucketsOperation.Response convert(List<com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp> rawResponse)
convert in class FutureOperation<ListBucketsOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp,BinaryValue>protected RiakMessage createChannelMessage()
createChannelMessage in class FutureOperation<ListBucketsOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp,BinaryValue>protected com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp decode(RiakMessage rawMessage)
decode in class FutureOperation<ListBucketsOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp,BinaryValue>public BinaryValue getQueryInfo()
RiakFutureUseful in async operations when you want to know what operation this future refers to.
getQueryInfo in interface RiakFuture<ListBucketsOperation.Response,BinaryValue>getQueryInfo in class FutureOperation<ListBucketsOperation.Response,com.basho.riak.protobuf.RiakKvPB.RpbListBucketsResp,BinaryValue>Copyright © 2015. All rights reserved.