return;
}
}
// there is a userMonitor object for this user name but no Hosts for this host
// so we have to create new Hosts
HostMonitorData hostMonitorData = new HostMonitorData(monitorID.getHost());
hostMonitorData.addMonitorIDForHost(monitorID);
next.addHostMonitorData(hostMonitorData);
return;
}
}
HostMonitorData hostMonitorData = new HostMonitorData(monitorID.getHost());
hostMonitorData.addMonitorIDForHost(monitorID);
UserMonitorData userMonitorData = new UserMonitorData(monitorID.getUserName());
userMonitorData.addHostMonitorData(hostMonitorData);
try {
queue.put(userMonitorData);