public final class ListBuckets extends RiakCommand<ListBuckets.Response,BinaryValue>
ListBuckets lb = new ListBuckets.Builder("my_type").build();
ListBuckets.Response resp = client.execute(lb);
for (Namespace ns : response)
{
System.out.println(ns.getBucketName());
}
Modifier and Type | Class and Description |
---|---|
static class |
ListBuckets.Builder
Builder for a ListBuckets command.
|
static class |
ListBuckets.Response
A response from a ListBuckets command.
|
Modifier and Type | Method and Description |
---|---|
protected RiakFuture<ListBuckets.Response,BinaryValue> |
executeAsync(RiakCluster cluster) |
execute
protected RiakFuture<ListBuckets.Response,BinaryValue> executeAsync(RiakCluster cluster)
executeAsync
in class RiakCommand<ListBuckets.Response,BinaryValue>
Copyright © 2014. All rights reserved.