Class DelayRecipients
java.lang.Object
ecmwf.ecpds.master.plugin.http.controller.monitoring.DelayRecipients
ECMWF Product Data Store (OpenECPDS) Project
Works out who is concerned by a delay: the destinations receiving a (product, cycle) combination, using the same data
as the destinations table at the bottom of /do/monitoring, and their contact emails.
- Since:
- 2026-10-12
- Version:
- 8.2.0
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThe result of a resolution. -
Method Summary
Modifier and TypeMethodDescriptionGets the available cycles for each product, from the monitoring data.Gets the generation-status color for each known product and cycle.Gets the generation status of the cycle with the shortest time remaining for each product.Gets the minutes before schedule for each known product and cycle.Finds the nearest schedule time across all known cycles for each product.static DelayRecipients.Resultresolve(Collection<String> cells, boolean includeNonMonitored) Resolves the destinations and emails for a selection of cells.
-
Method Details
-
cyclesPerProduct
-
minutesBeforeSchedulePerProduct
Finds the nearest schedule time across all known cycles for each product. A negative value means that at least one cycle is already late; cycles without a schedule are ignored.- Returns:
- shortest minutes before schedule, keyed by product name
- Throws:
Exception- if the monitoring data cannot be read
-
minutesBeforeSchedulePerCycle
-
generationStatusPerCycle
-
generationStatusPerProduct
-
resolve
public static DelayRecipients.Result resolve(Collection<String> cells, boolean includeNonMonitored) throws Exception Resolves the destinations and emails for a selection of cells.- Parameters:
cells- the cells, as "product@time" keysincludeNonMonitored- also include the destinations not showing in the monitor- Returns:
- the destinations and emails
- Throws:
Exception- if the data cannot be read
-