spring-data-redis
spring-data-redis copied to clipboard
Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository...
If we use a forwarding `RedisConnectionFactory`, which does not extends the `LettuceConnectionFactory`, and delegate the get connection to `LettuceConnectionFactory`, then the `RedisMessageListenerContainer` does not work anymore. It works in 2.6.13....
Replace usage of deprecated commands setEx, pSetEx and setNX in DefaultValueOperations by set command with additional SetOption arguments Closes ##2897
In DefaultValueOperations, the set method with timeout argument calls the setEx command internally. However, SETEX command was deprecated in version 2.6.12 of Redis. According to Redis documentation, it is recommended...
Using Spring data Redis 3.2.5 and repository, Given this structure ``` @RedisHash("Fruit") public class Fruit { @Id private Integer id; private String name; private Timestamp createdAt; } ``` And ```...
[Lettuce 6.1.0.RELEASE](https://github.com/redis/lettuce/releases/tag/6.1.0.RELEASE) added support for three SSL/TLS verification modes (`SslVerifyMode`): * `NONE` (corresponds with `setVerifyPeer(false)`) * `CA` (only verifies the CA and cert, without verifying the hostname matches) * `FULL`...
The following code can be found in `org.springframework.data.redis.cache.RedisCache`. ```java private final Lock lock = new ReentrantLock(); @Override @SuppressWarnings("unchecked") public T get(Object key, Callable valueLoader) { ValueWrapper result = get(key); return...
I am using the function to check if a key exist or not, but actually I have a list of keys that needs to be checked. I can't find a...