Registry / database / infinispan-client-hotrod

infinispan-client-hotrod

JSON →
library16.1.4javamavenunverified

Client for connecting to Infinispan servers via the Hot Rod protocol.

<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-client-hotrod</artifactId> <version>16.1.4</version> </dependency>
INSTALL
IMPORT
SIG · INFINISPAN-CLIENT-
I
infinispan-client-hotrod
databasejavav16.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RemoteCacheManager
org.infinispan.client.hotrod.RemoteCacheManager

Connects to Infinispan and performs a cache put/get.

import org.infinispan.client.hotrod.RemoteCacheManager; import org.infinispan.client.hotrod.configuration.ConfigurationBuilder; public class Example { public static void main(String[] args) { ConfigurationBuilder builder = new ConfigurationBuilder(); builder.addServer().host("localhost").port(11222); RemoteCacheManager cacheManager = new RemoteCacheManager(builder.build()); cacheManager.getCache("myCache").put("key", "value"); System.out.println(cacheManager.getCache("myCache").get("key")); } }
Debug
Known issues
breakingHot Rod client version must match server version.
fix
Use compatible client and server versions.
affects: all
Upgrade
Version history
16.1.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
infinispan-client-hotrod — mvn dependency:get infinispan-client-hotrod · libregistry