Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92820

Futurize NetworkInterfaceTL::setAlarm

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible
    • Programmability 2024-08-19, Programmability 2024-09-02, Programmability 2024-09-16, Programmability 2024-09-30
    • 0

      The current implementation of NetworkInterfaceTL::setAlarm takes a callback to be invoked at the specified time. Change setAlarm to instead return a Future<void> that will fire at the specified time. Further, add support for taking a CancellationToken and remove cancelAlarm. Propagate changes to ThreadPoolTaskExecutor to adapt to the new API.

            Assignee:
            james.bronsted@mongodb.com James Bronsted
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: