[infinispan-issues] [JBoss JIRA] (ISPN-10299) Allow users to customize NearCache behavior per RemoteCache

Ryan Emerson (Jira) issues at jboss.org
Wed Jun 12 07:01:00 EDT 2019


Ryan Emerson created ISPN-10299:
-----------------------------------

             Summary: Allow users to customize NearCache behavior per RemoteCache
                 Key: ISPN-10299
                 URL: https://issues.jboss.org/browse/ISPN-10299
             Project: Infinispan
          Issue Type: Enhancement
          Components: Hot Rod
    Affects Versions: 10.0.0.Beta3, 9.4.14.Final
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro
             Fix For: 10.0.0.Beta4


I have the need to customize L1 configuration beyond the simple max-size capability.  To do this, I can extend RemoteCacheManager and override the protected createNearCacheService(...) method.  However, this method returns a NearCacheService implementation, instead of a NearCache.  No matter, I can still extend NearCacheService and override the protected createNearCache(NearCacheConfiguration config) method.  However, this method returns a NearCache interface which is package protected.  Consequently, customizing near caching logic is impossible.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list