]
Paul Ferraro updated ISPN-10248:
--------------------------------
Summary: Allow users to customize NearCache behavior per RemoteCache (was: Allow
users to customize NearCache behavior)
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
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.