Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-1063

Use executure.execute() instead of submit() to avoid creation of unused FutureTask

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.5.0
    • None
    • None

    Description

      When submitting tasks to an executor, if the FutureTask object is not being used we should use execute() instead of submit() in order to avoid the task object allocation.

      Attachments

        Issue Links

          Activity

            People

              mmerli Matteo Merli
              mmerli Matteo Merli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: