final RequestMeta meta = new RequestMeta ();
meta.setClientId (RiakRestOperationFactory.this.clientId);
final BucketResponse res = RiakRestOperationFactory.this.riakcl.listBucket (RiakRestOperationFactory.this.bucket, meta);
List<String> keys = new ArrayList<String> ();
if (res.isSuccess ()) {
final RiakBucketInfo info = res.getBucketInfo ();
keys = (List<String>) info.getKeys ();
return keys;
} else {
return keys;
}
}