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 style data access.
RedisKeyValueAdapter is now a lifecycle bean participating in Spring's SmartLifecycle support. Sticking to Lifecycle aligns with lifecycle support in RedisConnectionFactory where connections are stopped upon shutdown.
Previously, RedisKeyValueAdapter stopped connections upon destroy() causing a delayed shutdown behavior that was out of sync with its RedisConnectionFactory.
RedisKeyValueAdapter
is now a lifecycle bean participating in Spring'sSmartLifecycle
support. Sticking to Lifecycle aligns with lifecycle support inRedisConnectionFactory
where connections are stopped upon shutdown.Previously,
RedisKeyValueAdapter
stopped connections upondestroy()
causing a delayed shutdown behavior that was out of sync with itsRedisConnectionFactory
.Closes #2957