[infinispan-issues] [JBoss JIRA] (ISPN-11676) Per-cache Hot Rod client configuration
Tristan Tarrant (Jira)
issues at jboss.org
Fri Apr 17 12:29:06 EDT 2020
Tristan Tarrant created ISPN-11676:
--------------------------------------
Summary: 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: 10.1.6.Final, 11.0.0.Dev04
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list