Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8580

Refactor ThreadLocal use to handle hotrod flags

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Optional
    • None
    • None
    • Hot Rod
    • None

    Description

      OperationsFactory and MultimapOperationsFactory use ThreadLocal to share flags.
      Instead store the flags on each instance of the RemoteMultiMap/RemoteCache and pass them when they invoke something. When a new flag is added or removed we would create a new instance. This seems much more intuitive to me and simpler.

      Then the flags can be defaulted on the RemoteCache/RemoteMultiMap when it is retrieved from the manager as well.

      Attachments

        Activity

          People

            karestig@redhat.com Katia Aresti
            karestig@redhat.com Katia Aresti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: