[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265865#comment-16265865 ] Gerhard Petracek commented on DELTASPIKE-1302: -- ok - then it's the first one of the options i mentioned (just with a concrete lookup suggestion) > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265862#comment-16265862 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Way less than config module sincr we cache the resulting instance do it will not impact perfs. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265857#comment-16265857 ] Gerhard Petracek commented on DELTASPIKE-1302: -- -0 because there will be many lookups without results. if we use something like that as a "convenient default", we need a mechanism to change it. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265792#comment-16265792 ] John D. Ament commented on DELTASPIKE-1302: --- I like Romain's idea. Makes sense. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265791#comment-16265791 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Why not: 1. if a @Named matches and is of Executor type use it 2. try to look it up in jndi (managed executor service case) 3. fallback on deltaspike config with defaults - ensuring we have 1 ES per "name" with a low size default wdyt? > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265761#comment-16265761 ] Gerhard Petracek commented on DELTASPIKE-1302: -- @romain: basically i agree that it wouldn't be used a lot. further options would be - auto. registration of the ExecutorService - change some parts to be protected that a specialized bean could reuse more parts - like the pools-map > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (DELTASPIKE-1302) ThreadPoolManager: ExecutorService map is always empty
[ https://issues.apache.org/jira/browse/DELTASPIKE-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16265622#comment-16265622 ] Romain Manni-Bucau commented on DELTASPIKE-1302: Not sure, configurig an ES by name is simple enough to be built in IMO and I can bet the SPI would never be used. > ThreadPoolManager: ExecutorService map is always empty > -- > > Key: DELTASPIKE-1302 > URL: https://issues.apache.org/jira/browse/DELTASPIKE-1302 > Project: DeltaSpike > Issue Type: Bug > Components: Core >Affects Versions: 1.8.0 >Reporter: Alonso Gonzalez >Priority: Minor > > ThreadPoolManager contains a ConcurrentHashMap that maps from a pool name to > an ExecutorService. Unfortunately the map never gets populated. It's always > empty. > I need this because I want to use a specific ExecutorService with @Futureable. -- This message was sent by Atlassian JIRA (v6.4.14#64029)