public class ListBucketsOperation extends PBStreamingFutureOperation<ListBucketsOperation.Response,RiakKvPB.RpbListBucketsResp,BinaryValue>
| Modifier and Type | Class and Description |
|---|---|
static class |
ListBucketsOperation.Builder |
static class |
ListBucketsOperation.Response |
reqBuilder, reqMessageCode| Modifier and Type | Method and Description |
|---|---|
protected ListBucketsOperation.Response |
convert(List<RiakKvPB.RpbListBucketsResp> rawResponse) |
protected boolean |
done(RiakKvPB.RpbListBucketsResp message)
Detect when the streaming operation is finished
|
BinaryValue |
getQueryInfo()
Returns information related to the operation performed.
|
protected ListBucketsOperation.Response |
processStreamingChunk(RiakKvPB.RpbListBucketsResp rawResponseChunk) |
getResultsQueue, processMessagecreateChannelMessage, decodeaddListener, await, await, cancel, cause, channelMessage, checkAndGetSingleResponse, get, get, getNow, isCancelled, isDone, isSuccess, processBatchMessage, removeListener, setComplete, setResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, await, await, cancel, cause, get, get, getNow, isCancelled, isDone, isSuccess, removeListenerprotected boolean done(RiakKvPB.RpbListBucketsResp message)
FutureOperationdone in class FutureOperation<ListBucketsOperation.Response,RiakKvPB.RpbListBucketsResp,BinaryValue>message - raw messageprotected ListBucketsOperation.Response convert(List<RiakKvPB.RpbListBucketsResp> rawResponse)
convert in class FutureOperation<ListBucketsOperation.Response,RiakKvPB.RpbListBucketsResp,BinaryValue>protected ListBucketsOperation.Response processStreamingChunk(RiakKvPB.RpbListBucketsResp rawResponseChunk)
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,RiakKvPB.RpbListBucketsResp,BinaryValue>Copyright © 2016. All rights reserved.