Search in sources :

Example 1 with SingularityDisastersData

use of com.hubspot.singularity.SingularityDisastersData in project Singularity by HubSpot.

the class SingularityDisasterDetectionPoller method queueDisasterEmail.

private void queueDisasterEmail(List<SingularityDisasterDataPoint> dataPoints, List<SingularityDisasterType> disasters) {
    SingularityDisastersData data = new SingularityDisastersData(dataPoints, disasterManager.getAllDisasterStates(disasters), disasterManager.isAutomatedDisabledActionsDisabled());
    mailer.sendDisasterMail(data);
}
Also used : SingularityDisastersData(com.hubspot.singularity.SingularityDisastersData)

Aggregations

SingularityDisastersData (com.hubspot.singularity.SingularityDisastersData)1