@Override public void run() { try { while(!terminate) { for (MutableJobStatus status : statuses) { status.setLastActivity( new Date(suite.getJobStatusStore().touch( suite.getId(), status.getJobId()))); } Sleeper.sleepMillis(HEARTBEAT_INTERVAL); } } catch (IOException e) { throw new JEFException("Cannot update status heartbeat.", e); } }