Registry / database / spring-boot-starter-redis

spring-boot-starter-redis

JSON →
library1.4.7.RELEASEjavamavenunverified

Starter for using Redis with Spring Data Redis and Jedis client; deprecated in favor of spring-boot-starter-data-redis.

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-redis</artifactId> <version>1.4.7.RELEASE</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-BOOT-STARTE
S
spring-boot-starter-redis
databasejavav1.4.7.RELEASE
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.

RedisTemplate
✓ org.springframework.data.redis.core.RedisTemplate

Injects RedisTemplate and sets a key-value pair.

import org.springframework.data.redis.core.RedisTemplate; import org.springframework.beans.factory.annotation.Autowired; public class Example { @Autowired private RedisTemplate<String, String> redisTemplate; public void setValue(String key, String value) { redisTemplate.opsForValue().set(key, value); } }
Debug
Known issues
breakingThis starter is deprecated since Spring Boot 1.4; use spring-boot-starter-data-redis instead.
fix
Replace dependency with org.springframework.boot:spring-boot-starter-data-redis.
affects: >=1.4.0
Upgrade
Version history
1.4.7.RELEASElatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
spring-boot-starter-redis — mvn dependency:get spring-boot-starter-redis · libregistry