public class IncidentDao extends Object implements org.glowroot.common2.repo.IncidentRepository
| Modifier and Type | Method and Description |
|---|---|
void |
insertOpenIncident(String agentRollupId,
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition condition,
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity severity,
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification notification,
long openTime) |
List<org.glowroot.common2.repo.IncidentRepository.OpenIncident> |
readAllOpenIncidents() |
org.glowroot.common2.repo.IncidentRepository.OpenIncident |
readOpenIncident(String agentRollupId,
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition condition,
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity severity) |
List<org.glowroot.common2.repo.IncidentRepository.OpenIncident> |
readOpenIncidents(String agentRollupId) |
List<org.glowroot.common2.repo.IncidentRepository.ResolvedIncident> |
readResolvedIncidents(long from) |
void |
resolveIncident(org.glowroot.common2.repo.IncidentRepository.OpenIncident openIncident,
long resolveTime) |
public void insertOpenIncident(String agentRollupId, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition condition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity severity, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification notification, long openTime) throws Exception
insertOpenIncident in interface org.glowroot.common2.repo.IncidentRepositoryExceptionpublic List<org.glowroot.common2.repo.IncidentRepository.OpenIncident> readAllOpenIncidents() throws Exception
readAllOpenIncidents in interface org.glowroot.common2.repo.IncidentRepositoryExceptionpublic org.glowroot.common2.repo.IncidentRepository.OpenIncident readOpenIncident(String agentRollupId, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition condition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity severity) throws Exception
readOpenIncident in interface org.glowroot.common2.repo.IncidentRepositoryExceptionpublic List<org.glowroot.common2.repo.IncidentRepository.OpenIncident> readOpenIncidents(String agentRollupId) throws Exception
readOpenIncidents in interface org.glowroot.common2.repo.IncidentRepositoryExceptionpublic List<org.glowroot.common2.repo.IncidentRepository.ResolvedIncident> readResolvedIncidents(long from) throws Exception
readResolvedIncidents in interface org.glowroot.common2.repo.IncidentRepositoryExceptionCopyright © 2011–2019 Glowroot contributors. All rights reserved.