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

Ryan Emerson (JIRA) issues at jboss.org
Thu Jul 7 06:01:00 EDT 2016


Ryan Emerson created ISPN-6844:
----------------------------------

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


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