use of com.yahoo.documentapi.messagebus.protocol.StatBucketMessage in project vespa by vespa-engine.
the class BucketStatsRetriever method retrieveBucketStats.
public String retrieveBucketStats(ClientParameters.SelectionType type, String id, BucketId bucketId, String bucketSpace) throws BucketStatsException {
String documentSelection = createDocumentSelection(type, id);
StatBucketMessage msg = new StatBucketMessage(bucketId, bucketSpace, documentSelection);
StatBucketReply statBucketReply = sendMessage(msg, StatBucketReply.class);
return statBucketReply.getResults();
}
Aggregations