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 T |
execute(RiakCluster cluster,
long timeout,
TimeUnit unit) |
protected abstract RiakFuture<T,S> |
executeAsync(RiakCluster cluster) |
protected final T execute(RiakCluster cluster) throws ExecutionException, InterruptedException
protected final T execute(RiakCluster cluster, long timeout, TimeUnit unit) throws ExecutionException, InterruptedException, TimeoutException
protected abstract RiakFuture<T,S> executeAsync(RiakCluster cluster)
Copyright © 2016. All rights reserved.