Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2192

constructor for the JMXEnabledOrderedMemoryAwareThreadPoolExecutor has hard coded keepAlive time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • None
    • protocols
    • None
    • Patch, Important

    Description

      The lone constructor for the JMXEnabledOrderedMemoryAwareThreadPoolExecutor class has a hard coded 30 seconds keepAlive time value, I want the ability to create with a parameter keepAlive time and TimeUnit

      public JMXEnabledOrderedMemoryAwareThreadPoolExecutor(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, TimeUnit unit, String jmxPath, String name)

      See attachment for patch

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              randymo Randymo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified