@Override
  protected void runOneIteration() throws Exception {
    try {
      LOG.info("Flushing cached alerts to the database");
      m_alertsDAO.flushCachedEntitiesToJPA();
    } catch (Exception exception) {
      LOG.error("Unable to flush cached alerts to the database", exception);
    }
  }
{@inheritDoc}
<p/>
Flushes cached alerts to the database.
ambari-server/src/main/java/org/apache/ambari/server/state/services/CachedAlertFlushService.java