public abstract class StreamableRiakCommand<R extends StreamableRiakCommand.StreamableResponse,I,CoreR,CoreI> extends GenericRiakCommand<R,I,CoreR,CoreI>
Modifier and Type | Class and Description |
---|---|
static class |
StreamableRiakCommand.StreamableResponse<T,S> |
static class |
StreamableRiakCommand.StreamableRiakCommandWithSameInfo<R extends StreamableRiakCommand.StreamableResponse,I,CoreR> |
GenericRiakCommand.GenericRiakCommandWithSameInfo<R,I,CoreR>
Constructor and Description |
---|
StreamableRiakCommand() |
Modifier and Type | Method and Description |
---|---|
protected FutureOperation<CoreR,?,CoreI> |
buildCoreOperation() |
protected abstract PBStreamingFutureOperation<CoreR,?,CoreI> |
buildCoreOperation(boolean streamResults) |
protected abstract R |
createResponse(int timeout,
StreamingRiakFuture<CoreR,CoreI> coreFuture) |
protected RiakFuture<R,I> |
executeAsyncStreaming(RiakCluster cluster,
int timeout) |
convertInfo, convertResponse, executeAsync
execute, execute
protected abstract R createResponse(int timeout, StreamingRiakFuture<CoreR,CoreI> coreFuture)
protected abstract PBStreamingFutureOperation<CoreR,?,CoreI> buildCoreOperation(boolean streamResults)
protected final FutureOperation<CoreR,?,CoreI> buildCoreOperation()
buildCoreOperation
in class GenericRiakCommand<R extends StreamableRiakCommand.StreamableResponse,I,CoreR,CoreI>
protected final RiakFuture<R,I> executeAsyncStreaming(RiakCluster cluster, int timeout)
Copyright © 2016. All rights reserved.