[jboss-jira] [JBoss JIRA] (WFLY-4452) Use Flag.RESTART_RESOURCE_SERVICES for child resources of cache
Jason Greene (JIRA)
issues at jboss.org
Fri Jun 12 22:57:59 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene updated WFLY-4452:
-------------------------------
Fix Version/s: 10.0.0.Alpha4
(was: 10.0.0.Alpha3)
> Use Flag.RESTART_RESOURCE_SERVICES for child resources of cache
> ---------------------------------------------------------------
>
> Key: WFLY-4452
> URL: https://issues.jboss.org/browse/WFLY-4452
> Project: WildFly
> Issue Type: Enhancement
> Components: Clustering
> Affects Versions: 9.0.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Fix For: 10.0.0.Alpha4
>
>
> Currently, the attributes for each child resource of a cache use RESTART_ALL_SERVICES, thus any change to one of these attributes requires all services to restart. This is overkill, since only the services of the parent resource (i.e. cache) actually require restarting.
> Ideally, each child resource should create a runtime service for its corresponding sub-configuration. e.g. the transaction resource would create a Service<TransactionConfiguration>. Thus the cache resource's add handler becomes much less complex - and the corresponding Service<Configuration> need only depend on the sub-configuration services for each child resource.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list