Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1286

metrics Gauge doesn't need to depend on defer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libprocess

    Description

      metrics::Gauge currently requires defer.hpp which is unnecessary. In fact, switching the API to take a std::function still allows deferred objects to be passed in, but also allows for synchronous gauges for simple cases.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhamon Dominic Hamon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: