Registry / database / infinispan-jcache-remote

infinispan-jcache-remote

JSON →
library16.1.3javamavenunverified

JCACHE (JSR-107) implementation using Infinispan client-server mode for distributed caching.

<dependency> <groupId>org.infinispan</groupId> <artifactId>infinispan-jcache-remote</artifactId> <version>16.1.3</version> </dependency>
INSTALL
IMPORT
SIG · INFINISPAN-JCACHE-
I
infinispan-jcache-remote
databasejavav16.1.3
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.

RemoteCache
org.infinispan.jcache.remote.RemoteCache

Minimal example showing how to create and use a remote Infinispan cache via JCache API.

import org.infinispan.jcache.remote.RemoteCache; import javax.cache.CacheManager; import javax.cache.Caching; import javax.cache.spi.CachingProvider; public class Quickstart { public static void main(String[] args) { CachingProvider provider = Caching.getCachingProvider("org.infinispan.jcache.remote.spi.InfinispanCachingProvider"); CacheManager manager = provider.getCacheManager(); RemoteCache<String, String> cache = (RemoteCache<String, String>) manager.createCache("mycache", new MutableConfiguration<>()); cache.put("key", "value"); System.out.println(cache.get("key")); } }
Debug
Known issues
gotchaRequires a running Infinispan server; local-only mode not supported.
fix
Ensure an Infinispan server is accessible at the configured host/port.
affects: all
Upgrade
Version history
16.1.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
infinispan-jcache-remote — mvn dependency:get infinispan-jcache-remote · libregistry