Class WeatherCollector
java.lang.Object
ecmwf.ecpds.master.weather.WeatherCollector
Bounded, volatile aggregation. Transport must authenticate source identity and enforce encoded batch limits before
calling this collector.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(UUID expectedEpoch, Set<String> authorizedSources, WeatherObservation observation, long queueAgeMs, long measuredClockOffsetMs) The caller supplies authenticated scope and measured transport age/offset; these are not trusted fields taken from the observation payload.configure(long expectedRevision, boolean enabled, Set<WeatherObservation.Path> paths) snapshot()
-
Constructor Details
-
WeatherCollector
public WeatherCollector() -
WeatherCollector
-
-
Method Details
-
selection
-
configure
public WeatherSelection configure(long expectedRevision, boolean enabled, Set<WeatherObservation.Path> paths) -
accept
public WeatherReceipt accept(UUID expectedEpoch, Set<String> authorizedSources, WeatherObservation observation, long queueAgeMs, long measuredClockOffsetMs) The caller supplies authenticated scope and measured transport age/offset; these are not trusted fields taken from the observation payload. -
snapshot
-
viewer
-