@Transactional
  public void removeByHost(HostEntity host) {
    for(TopologyHostInfoEntity e : findByHost(host)) {
      entityManagerProvider.get().remove(merge(e));
    }
  }
Refreshes entity state from database
@param topologyHostInfoEntity entity to refresh
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/TopologyHostInfoDAO.java