[infinispan-issues] [JBoss JIRA] (ISPN-6844) Remove redundant enabled flag and disableInterceptor method from CacheWriter/Loader Interceptors

Tristan Tarrant (JIRA) issues at jboss.org
Thu Aug 11 09:19:00 EDT 2016


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

Tristan Tarrant updated ISPN-6844:
----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 9.0.0.Beta1
                   9.0.0.Final
       Resolution: Done


> Remove redundant enabled flag and disableInterceptor method from CacheWriter/Loader Interceptors
> ------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-6844
>                 URL: https://issues.jboss.org/browse/ISPN-6844
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Loaders and Stores
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>             Fix For: 9.0.0.Beta1, 9.0.0.Final
>
>
> Currently both the CacheWriter and CacheLoader interceptors utilise a method disableInterceptor which sets a boolean flag to false. This method is only every called by PersistenceManagerImpl when removing the interceptor, at which point it should not be possible for any of the removed interceptor's methods to be executed. Therefore we should be able to remove this flag, associated checks and the disableInterceptor method without issue. 



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


More information about the infinispan-issues mailing list