Skip to content

RedisTemplate

RedisTemplate is a central abstraction class in Spring Data Redis used for executing operations and managing data interactions with a Redis store.^[springboot-data-redis.md]

Connection Management

RedisTemplate relies on a connection abstraction to interact with the Redis server. It utilizes RedisConnection and RedisConnectionFactory interfaces to manage the underlying network connections.^[springboot-data-redis.md]

Operation Categories

The class categorizes its operations into two primary types:

  • Key Type Operations: Operations that are generic to the type of data stored (e.g., strings, hashes, lists).
  • Key Bound Operations: Operations that are bound to a specific key.^[springboot-data-redis.md]

Sources

^[springboot-data-redis.md]