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

Separate NITP::consumeTasks into an entry and an impl

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Networking
    • Labels:

      Description

      So we currently have a somewhat difficult to parse if block in the NetworkInterfaceThreadPool. I think we can probably simplify this into consumeTasks() for actually doing the work and scheduleCosumeTasks() for registering our work onto the executor. There's also some weirdness around the booleans _registeredAlarm and _consumingTasks that probably could benefit from becoming an enum.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: