Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2534

Optimize task cancellation within BeanExpirationScheduler and SessionExpirationScheduler

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • 8.0.0.CR1
    • 8.0.0.Beta1
    • Clustering
    • None

    Description

      These implementation uses a ScheduledThreadPoolExecutor to schedule expiration of beans/sessions, and rely heavily on task cancellation to reschedule expiration upon access.
      Unfortunately, the remove method of the BlockingQueue used by ScheduledThreadPoolExecutor is an O(N) operation.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: