]
Katia Aresti updated ISPN-11676:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Per-cache Hot Rod client configuration
--------------------------------------
Key: ISPN-11676
URL:
https://issues.redhat.com/browse/ISPN-11676
Project: Infinispan
Issue Type: Enhancement
Components: Hot Rod
Affects Versions: 11.0.0.Dev04, 10.1.6.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Priority: Major
Fix For: 10.1.7.Final, 11.0.0.Dev05
Currently some configuration in the Hot Rod client is global (tx mode, force return
values, near cache). We should introduce per-cache configuration. Additionally we should
also be able to specify a server-side template/configuration to use if a cache doesn't
exist.
{code:java}
builder
.remoteCache(cacheName)
.templateName("template")
.nearCacheMode(NearCacheMode.INVALIDATED)
.nearCacheMaxEntries(100)
.forceReturnValues(true);
{code}