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: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • 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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: