[infinispan-issues] [JBoss JIRA] (ISPN-8580) Refactor ThreadLocal use to handle hotrod flags

Katia Aresti (JIRA) issues at jboss.org
Wed Jan 31 09:46:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-8580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Katia Aresti updated ISPN-8580:
-------------------------------
    Summary: Refactor ThreadLocal use to handle hotrod  flags   (was: Reactor ThreadLocal use to handle hotrod  flags )


> Refactor ThreadLocal use to handle hotrod  flags 
> -------------------------------------------------
>
>                 Key: ISPN-8580
>                 URL: https://issues.jboss.org/browse/ISPN-8580
>             Project: Infinispan
>          Issue Type: Task
>          Components: Hot Rod
>            Reporter: Katia Aresti
>            Assignee: Katia Aresti
>            Priority: Optional
>
> 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.
>  



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list