Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8007

Make Maven transfer listener used with Resolver more concurrent friendly

    XMLWordPrintableJSON

Details

    Description

      Current console transfer listener used in Maven has all method synchronized. This becomes a problem as resolver is more and more parallelized, and threads from it sending events are getting in race condition for maven listener monitor.

      One possibility would be to implement a "demuxer" listener, that wraps another listener: it receives even from multiple threads events, returns fast, but passes the incoming events on single thread to wrapped listener. This makes resolver relieve a bit, but also keeps actual listener simple, as it can be coded single threaded.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: