public void periodicUpdate() { if (manager == null || stats == null) { return; } int swarms_peer_speed = (int) stats.getTotalSwarmsPeerRate(true, false); downSpeedGraphic.addIntsValue( new int[] { stats.getDataReceiveRate() + stats.getProtocolReceiveRate(), stats.getProtocolReceiveRate(), COConfigurationManager.getIntParameter("Max Download Speed KBs") * 1024, swarms_peer_speed }); }