// TopologySumm ts = new TopologySumm(summ.get_name(), summ.get_id(),
// summ.get_status(), StatBuckets.prettyUptimeStr(summ
// .get_uptime_secs()), String.valueOf(workers.size()),
// String.valueOf(taskSize), summ.get_uptime_secs());
TopologySumm topologySumm = new TopologySumm();
topologySumm.setTopologyId(t.get_id());
topologySumm.setTopologyName(t.get_name());
topologySumm.setStatus(t.get_status());
topologySumm
.setUptime(StatBuckets.prettyUptimeStr(t.get_uptime_secs()));
topologySumm.setNumWorkers(String.valueOf(workers.size()));
topologySumm.setNumTasks(String.valueOf(taskNum));
tsumm.add(topologySumm);
return tsumm;
}