/* * * Date By Description * MM/DD/YYYY * ---------- -- ----------- * 11/15/2002 INB Created. * */ public final void timerTask(TimerTask ttI) { try { if (ttI.getCode().equals(MetricsInterface.TT_METRICS)) { long now = System.currentTimeMillis(); Rmap frame = ((MetricsInterface) getObject()).calculateMetrics(lastTime, now); if (frame != null) { getSource().addChild(frame); } lastTime = now; } else if (ttI.getCode().equals(LogStatusInterface.TT_LOG_STATUS)) { ((LogStatusInterface) getObject()).logStatus("Is running"); } } catch (java.lang.Exception e) { } }