glassfish
  1. glassfish
  2. GLASSFISH-7138

EJB-7 ThreadPool for TimerService & Async methods

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 9.1peur2
    • Fix Version/s: future release
    • Component/s: ejb_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      7,138

      Description

      When scheduling a Timer, it would be ideal if I could specify, one way or
      another, which ThreadPool the timer would run in.

      This would allow me to schedule many timers without worrying that there could
      be 200 timers firing simultaneously, all contending for locks, sockets, memory,
      and other resources that could best be used elsewhere given that most of the
      timers will contend for the same lock and just block waiting for each other
      anyway (in my case).

      Ideally this would not be specified on a per-timer or, if that is not possible,
      a per-bean basis.

        Activity

        Hide
        marina vatkina added a comment -

        Async methods are also requested

        Show
        marina vatkina added a comment - Async methods are also requested
        Hide
        marina vatkina added a comment -
            • Issue 11393 has been marked as a duplicate of this issue. ***
        Show
        marina vatkina added a comment - Issue 11393 has been marked as a duplicate of this issue. ***
        Hide
        marina vatkina added a comment -

        More work than expected

        Show
        marina vatkina added a comment - More work than expected
        Hide
        Cheng Fang added a comment -

        A related issue http://java.net/jira/browse/GLASSFISH-16735 has been fixed in 3.1.2 and 4.0 to make ejb default thread pool configurable.

        More work is needed to support assigning specific thread pool to a bean, or its timeout method.

        Show
        Cheng Fang added a comment - A related issue http://java.net/jira/browse/GLASSFISH-16735 has been fixed in 3.1.2 and 4.0 to make ejb default thread pool configurable. More work is needed to support assigning specific thread pool to a bean, or its timeout method.
        Hide
        Tom Mueller added a comment -

        Reassigning to component lead as the assignee is no longer with the project.

        Show
        Tom Mueller added a comment - Reassigning to component lead as the assignee is no longer with the project.

          People

          • Assignee:
            marina vatkina
            Reporter:
            dobes
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: