@Override
    public long getAffectedRows() {
      return affectedRows;
    }
Service in charge to perform the cleanup/purge on the entities that support this functionality.
ambari-server/src/main/java/org/apache/ambari/server/cleanup/CleanupServiceImpl.java