[infinispan-issues] [JBoss JIRA] (ISPN-11778) Per-cache Hot Rod client configuration

Pedro Ruivo (Jira) issues at jboss.org
Wed May 6 05:28:00 EDT 2020


Pedro Ruivo created ISPN-11778:
----------------------------------

             Summary: Per-cache Hot Rod client configuration
                 Key: ISPN-11778
                 URL: https://issues.redhat.com/browse/ISPN-11778
             Project: Infinispan
          Issue Type: Enhancement
          Components: Hot Rod
    Affects Versions: 11.0.0.Dev04, 10.1.6.Final
            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