]
Tristan Tarrant updated ISPN-10248:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.4.16.Final
Resolution: Done
Allow users to customize NearCache behavior per RemoteCache
-----------------------------------------------------------
Key: ISPN-10248
URL:
https://issues.jboss.org/browse/ISPN-10248
Project: Infinispan
Issue Type: Enhancement
Components: Hot Rod
Affects Versions: 10.0.0.Beta3, 9.4.14.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Priority: Major
Fix For: 10.0.0.Beta4, 9.4.16.Final
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.