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

Make the ConstructorDestructorActions into a generic pattern

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch

      ConstructorDesturctorActions here are a fairly powerful pattern within the ServiceContext. You form a directed graph of actions, then process them all like FILO queue. I propose that we genericize them as something like ActionGraph. This would allow us to use them for new Decorable types, or for more esoteric use cases. Personally, I want to use an extra graph of actions to rephrase server startup and shutdown. (The first graph is ServiceContext construction and destruction.)

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: