use of com.alibaba.cobar.manager.dataobject.cobarnode.ProcessorStatus in project cobar by alibaba.
the class TestProcessor method statistic.
public void statistic() {
netInSum = 0;
netOutSum = 0;
requestSum = 0;
psList = cobarAdapter.listProccessorStatus();
for (ProcessorStatus ps : psList) {
netInSum += ps.getNetIn();
netOutSum += ps.getNetOut();
requestSum += ps.getRequestCount();
}
}
Aggregations