This content has been marked as final.
Show 3 replies
-
1. Re: JSR107 Remote cache Hotrod client near caching
galder.zamarreno Jan 6, 2017 7:50 AM (in response to benjamin.michael.gardner)This is not currently possible. I've created ISPN-7337 to enable this.
Fancy helping out and contributing a fix? We can help along
-
2. Re: JSR107 Remote cache Hotrod client near caching
benjamin.michael.gardner Jan 6, 2017 9:08 AM (in response to galder.zamarreno)Sure. I'd like to help.
I'm thinking add some new properties to read in the ConfigurationBuilder.withProperties()
String NEAR_CACHE_MODE = "infinispan.client.hotrod.nearcache.mode";
infinispan.client.hotrod.nearcache.mode=INVALIDATED
infinispan.client.hotrod.nearcache.mode=DISABLED
String NEAR_CACHE_MAX_ENTRIES = "infinispan.client.hotrod.nearcache.max_entries";
infinispan.client.hotrod.nearcache.max_entries=-1
-
3. Re: JSR107 Remote cache Hotrod client near caching
galder.zamarreno Jan 9, 2017 2:04 AM (in response to benjamin.michael.gardner)That sounds right. You can then test it works modifying org.infinispan.client.hotrod.configuration.ConfigurationTest to add options for near cache and compare property values...
Thanks!