processHeartbeats();
bb.publishAdd(new ProcessHeartbeats());
    public void expire () {      synchronized (lock) {        if (!expired) {          try {            bb.openTransaction();            processHeartbeats();          } catch (Exception e) {            e.printStackTrace();          } finally {            expired = true;            bb.closeTransaction();          }        }      }    }