Registry / web-framework / play-cache-2-11

play-cache-2-11

JSON →
library2.7.9javamavenunverified

Play Cache provides caching support for Play Framework applications, including in-memory and distributed cache implementations.

<dependency> <groupId>com.typesafe.play</groupId> <artifactId>play-cache_2.11</artifactId> <version>2.7.9</version> </dependency>
INSTALL
IMPORT
SIG · PLAY-CACHE-2-11
P
play-cache-2-11
web-frameworkjavav2.7.9
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.

CacheApi
play.cache.CacheApi

Sets and gets a cache entry.

import play.cache.CacheApi; import play.cache.DefaultCacheApi; public class Example { public static void main(String[] args) { CacheApi cache = new DefaultCacheApi(); cache.set("key", "value"); String value = cache.get("key"); System.out.println(value); } }
Debug
Known issues
breakingPlay Cache 2.7.x is compatible with Play 2.7.x only; using with other versions may cause issues.
fix
Ensure you use the correct Play Cache version matching your Play Framework version.
affects: >=2.7.0
Upgrade
Version history
2.7.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
play-cache-2-11 — mvn dependency:get play-cache-2-11 · libregistry