[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-848) ClusteredStatefulCacheListener should be a singleton

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Wed Jan 2 01:45:49 EST 2008


     [ http://jira.jboss.com/jira/browse/EJBTHREE-848?page=all ]

Carlo de Wolf updated EJBTHREE-848:
-----------------------------------

    Fix Version/s: HEAD
                       (was: AS 5.0.0.Beta3)

> ClusteredStatefulCacheListener should be a singleton
> ----------------------------------------------------
>
>                 Key: EJBTHREE-848
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-848
>             Project: EJB 3.0
>          Issue Type: Task
>          Components: Clustering
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>            Priority: Minor
>             Fix For: HEAD
>
>
> Currently, each SFSB Container registers an instance of ClusteredStatefulCacheListener with the SFSB cache.  This is inefficient if there are many containers, as each gets passivation/activation callbacks and has to filter for the ones it's interested in. The callbacks don't do anything container-specific, so it should be possible to use a quasi-singleton ClusteredStatefulCacheListener and eliminate the filtering.
> Quasi-singleton, because it's possible to have multiple SFSB caches; need one listener per cache.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list