[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-931) Optimise hand-wired interceptor chain by using a CacheInterceptorDelegate and a NodeInterceptorDelegate

Manik Surtani (JIRA) jira-events at lists.jboss.org
Mon Dec 10 11:27:54 EST 2007


    [ http://jira.jboss.com/jira/browse/JBCACHE-931?page=comments#action_12391373 ] 
            
Manik Surtani commented on JBCACHE-931:
---------------------------------------

Instead, going to use a delegate to invoke calls on the cache:

* CacheInvocationDelegate implements Cache and CacheSPI
* This is what users get when creating a cache using a CacheFactory
* Delegates calls to the interceptor chain, and the last interceptor in the chain invokes the method on CacheImpl
* CacheImpl does not implement Cache/CacheSPI
* NodeInvocationDelegate implements Node and NodeSPI
* This is what users get when creating a cache using a NodeFactory
* Delegates calls to the interceptor chain, and the last interceptor in the chain invokes the method on UnversionedNode
* UnversionedNode does not implement Node/NodeSPI
* JGroups RPCDIspatcher invokes stuff on RemoteCacheInvocationDelegate



> Optimise hand-wired interceptor chain by using a CacheInterceptorDelegate and a NodeInterceptorDelegate
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-931
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-931
>             Project: JBoss Cache
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.GA
>            Reporter: Manik Surtani
>         Assigned To: Manik Surtani
>             Fix For: 2.1.0.GA
>
>
> This should be a seamless change for end-users, and backward compat should be maintained.

-- 
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