public final void resetData(Long hostId) throws AmbariException {
    T newData = getCurrentData(hostId);
    data.replace(hostId, newData);
    STOMPUpdatePublisher.publish(newData);
  }
Reset data for the given host.  Used if changes are complex and it's easier to re-create data from scratch.
ambari-server/src/main/java/org/apache/ambari/server/agent/stomp/AgentHostDataHolder.java