T
- The response typeS
- The query info typepublic abstract class RiakCommand<T,S> extends Object
All the commands the RiakClient
can execute extend this class.
Constructor and Description |
---|
RiakCommand() |
Modifier and Type | Method and Description |
---|---|
protected T |
execute(RiakCluster cluster) |
protected abstract RiakFuture<T,S> |
executeAsync(RiakCluster cluster) |
protected final T execute(RiakCluster cluster) throws ExecutionException, InterruptedException
protected abstract RiakFuture<T,S> executeAsync(RiakCluster cluster)
Copyright © 2014. All rights reserved.