Class WeatherNegotiation

java.lang.Object
ecmwf.ecpds.master.weather.WeatherNegotiation

public final class WeatherNegotiation extends Object
Source-side control lease. Network work belongs to the scheduler; execution callbacks only read the cached state.
  • Constructor Details

    • WeatherNegotiation

      public WeatherNegotiation(String sourceId)
    • WeatherNegotiation

      public WeatherNegotiation(String sourceId, LongSupplier nanoTime)
  • Method Details

    • update

      public void update(WeatherCapabilities capabilities, long sentAtMs, long sentAtNanos)
    • invalidate

      public void invalidate()
    • close

      public void close()
    • current

      public WeatherNegotiation.Lease current()