throws RecordInsertException, BatchUpdateException {
Logger.debug("Processing stat: " + stat.toString());
try {
// add institution codes and names
GalileoInstitution galileoInstitution = Controller
.getInstitutionLookupService().getInstitutionData(
stat.getIpAddress());
if (galileoInstitution != null) {
stat.setInstCode(galileoInstitution.getInstCode());
stat.setInstName(galileoInstitution.getInstName());
}
// add top level domain from reverse dns lookup
String reverseDNSLookupValue = Controller
.getReverseDNSLookupService().lookup(stat.getIpAddress());