Registry / utility / cache-api

cache-api

JSON →
library1.1.1javamavenunverified

JCache is the Java Caching API (JSR 107) providing a standard interface for caching in Java applications.

<dependency> <groupId>javax.cache</groupId> <artifactId>cache-api</artifactId> <version>1.1.1</version> </dependency>
INSTALL
IMPORT
SIG · CACHE-API
C
cache-api
utilityjavav1.1.1
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.

Cache
javax.cache.Cache

Create and use a JCache instance

import javax.cache.Cache; import javax.cache.Caching; import javax.cache.configuration.MutableConfiguration; Cache<Integer, String> cache = Caching.getCachingProvider().getCacheManager().createCache("myCache", new MutableConfiguration<>()); cache.put(1, "value"); String val = cache.get(1);
Debug
Known issues
breakingThe javax.cache namespace is deprecated in favor of jakarta.cache in newer versions.
fix
Use jakarta.cache:cache-api for Jakarta EE 9+ projects.
affects: >=1.1.1
Upgrade
Version history
1.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
cache-api — mvn dependency:get cache-api · libregistry