throw new RuntimeException("Internal error: no eligable transaction service registered for " + request + "!");
}
}
private ProblemReport getProblemHourlyReport(String domain, String ip) {
ModelRequest request = new ModelRequest(domain, ModelPeriod.CURRENT.getStartTime()) //
.setProperty("type", "view");
if (!ip.equalsIgnoreCase(Payload.ALL)) {
request.setProperty("ip", ip);
}
if (m_transactionService.isEligable(request)) {
ModelResponse<ProblemReport> response = m_problemService.invoke(request);
ProblemReport report = response.getModel();