use of org.apache.accumulo.core.tabletserver.thrift.TCompactionQueueSummary in project accumulo by apache.
the class QueueSummariesTest method update.
private void update(QueueSummaries queueSum, String tserver, String... data) {
TServerInstance tsi = ntsi(tserver);
List<TCompactionQueueSummary> summaries = new ArrayList<>();
for (int i = 0; i < data.length; i += 2) {
summaries.add(new TCompactionQueueSummary(data[i], Short.parseShort(data[i + 1])));
}
queueSum.update(tsi, summaries);
}
Aggregations