use of com.yahoo.documentapi.messagebus.protocol.GetBucketListMessage in project vespa by vespa-engine.
the class BucketStatsRetriever method retrieveBucketList.
public List<GetBucketListReply.BucketInfo> retrieveBucketList(BucketId bucketId, String bucketSpace) throws BucketStatsException {
GetBucketListMessage msg = new GetBucketListMessage(bucketId, bucketSpace);
GetBucketListReply bucketListReply = sendMessage(msg, GetBucketListReply.class);
return bucketListReply.getBuckets();
}
Aggregations