Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10248

Allow users to customize NearCache behavior per RemoteCache

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 9.4.16.Final, 10.0.0.Final
    • 9.4.14.Final, 10.0.0.Final
    • Hot Rod
    • None

      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.

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: