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

Futurize NetworkInterfaceTL::setAlarm

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Programmability 2024-08-19, Programmability 2024-09-02, Programmability 2024-09-16, Programmability 2024-09-30

      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: