[jboss-jira] [JBoss JIRA] (WFLY-6415) Deprecate org.jboss.as.clustering.infinispan.subsystem.ScheduledThreadPoolResourceDefinition#keepAliveTime since it has no valid meaning

Paul Ferraro (JIRA) issues at jboss.org
Thu Mar 31 10:51:00 EDT 2016


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

Paul Ferraro reassigned WFLY-6415:
----------------------------------

    Assignee: Paul Ferraro  (was: Radoslav Husar)


> Deprecate org.jboss.as.clustering.infinispan.subsystem.ScheduledThreadPoolResourceDefinition#keepAliveTime since it has no valid meaning
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-6415
>                 URL: https://issues.jboss.org/browse/WFLY-6415
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 10.0.0.Final
>            Reporter: Radoslav Husar
>            Assignee: Paul Ferraro
>
> {code}
>  * <p>While this class inherits from {@link ThreadPoolExecutor}, a few
>  * of the inherited tuning methods are not useful for it. In
>  * particular, because it acts as a fixed-sized pool using
>  * {@code corePoolSize} threads and an unbounded queue, adjustments
>  * to {@code maximumPoolSize} have no useful effect. Additionally, it
>  * is almost never a good idea to set {@code corePoolSize} to zero or
>  * use {@code allowCoreThreadTimeOut} because this may leave the pool
>  * without threads to handle tasks once they become eligible to run.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list