Commit Graph

3011 Commits

Author SHA1 Message Date
John Blum
44aa79e2b2 Replace use of String.format(…) with formatted Strings.
Original pull request: #2752
Closes #2751
2024-09-10 14:03:01 +02:00
Mark Paluch
6eac1d1ad0 Polishing.
Refine assertions usage.

Original pull request: #2985
Closes #2982
2024-09-10 11:02:06 +02:00
jinkshower
b7f26fa30f Fix XAddOptions maxlen handling and XPendingOptions validation.
Closes #2982
Original pull request: #2985
2024-09-10 11:01:36 +02:00
Mark Paluch
15f541bf4c Polishing.
Improve pattern variable naming, use ClassUtils.getDescriptiveType(…) to avoid null-pointer exceptions. Simplify RedisOperationChain condition checks.

See #2788
2024-09-10 10:13:25 +02:00
Junghoon Ban
6190b3bff6 Improve readability in RedisQueryCreator.
Closes #2788
2024-09-10 10:13:25 +02:00
Junghoon Ban
803fd7101e Refactor Redis secondary-index key formatting.
Redis secondary-index keys are now formatted using helper methods instead of using chains of concatAll(toBytes(…)) sequences for more readability.

Original pull request: #2795
Closes: #2794
2024-09-10 09:35:14 +02:00
Christoph Strobl
0f45851190 Polishing.
Remove no longer needed wasLocked flag from CacheWriter.

Original Pull Request: #2948
2024-09-05 14:58:40 +02:00
Mark Paluch
49542eccee Apply time to idle in RedisCache.retrieve(…).
We now correctly apply time to idle on retrievals.

Original Pull Request: #2948
2024-09-05 14:57:28 +02:00
Mark Paluch
06bbd3dcab Use Redis locking for value retrieval synchronization.
We now use RedisCacheWriter to acquire and maintain the lock for value retrieval synchronization.

Closes: #2890
Original Pull Request: #2948
2024-09-05 14:56:59 +02:00
Mark Paluch
777f079114 Deprecate Micrometer Tracing code in favor of Lettuce's Micrometer support.
Closes #2561
2024-09-04 10:41:40 +02:00
Christoph Strobl
fb0f0bc07c Polishing.
Add new method to BoundStreamOperations and remove add accepting a Publisher.

Original Pull Request: #2936
2024-09-03 07:27:05 +02:00
jinkshower
486dc97623 Add overloads for StreamOperations add with additional XAddOptions.
Closes: #2915
Original Pull Request: #2936
2024-09-03 07:26:35 +02:00
Mark Paluch
bfa62bf31d Fix typos in Javadoc and assertion message.
Closes #2965
2024-08-30 14:09:44 +02:00
Christoph Strobl
bea01ef36c Fix error deserializing enum values with flattening Jackson2HashMapper.
This commit makes sure the mapper does not attempt to read type alias when deserializing enums.

Original pull request: #2980
Closes #2979
2024-08-30 09:57:33 +02:00
Christoph Strobl
5fb06655d9 Upgrade to Jedis 5.1.5.
Closes: #2976
2024-08-22 15:41:10 +02:00
Mark Paluch
9d716ff33a Update GitHub Actions.
See #2912
2024-08-21 09:28:22 +02:00
Mark Paluch
bd20c6d6f7 Polishing.
Add getFirst/getLast to Reactive and Bound Operations.

Simplify getLast implementation.

Reorder methods, tweak Javadoc, add since tags.

Original pull request: #2966
See #2937
2024-08-20 15:17:33 +02:00
Lee Jaeheon
a58bfd83c3 Add getFirst(K key) and getLast(K key) methods to ListOperations.
Original pull request: #2966
Closes #2937
2024-08-20 15:16:58 +02:00
Mark Paluch
e56e8c59b2 Add @Serial annotation to all serialVersionUID fields.
Closes #2973
2024-08-20 10:30:24 +02:00
Mark Paluch
3bc9423cd1 Polishing.
Replace instanceof check with pattern variable in production code.
Add missing Deprecated annotations.

See #2967
Original pull request: #2971
2024-08-20 10:25:14 +02:00
arefbehboudi
955b8918a4 Consistently use instanceof pattern variable.
Closes #2967
Original pull request: #2971
2024-08-20 10:23:44 +02:00
Mark Paluch
aab1f9b6b2 Upgrade to Lettuce 6.4.
Closes #2963
2024-08-12 08:38:11 +02:00
Mark Paluch
67fc8c4da4 Upgrade to Jedis 5.1.4.
Closes #2964
2024-08-12 08:38:11 +02:00
Christoph Strobl
af70648cb7 Add support for using custom BeanNameGenerator.
Closes: #2951
2024-08-09 10:40:30 +02:00
Mark Paluch
369b549b3c Default Lettuce shutdownQuietPeriod to zero.
Use a lower timeout for faster shutdown. Also, the quiet period is no longer configured through the shutdown timeout.

Closes #2945
2024-08-08 15:48:59 +02:00
Mark Paluch
ba2c9bae90 Polishing.
Remove verifyMode setters on LettuceConnectionFactory to not expose additional properties already exposed via ClientConfiguration.

Deprecate LettuceClientConfiguration.isVerifyPeer in favor of getVerifyMode.

See #2899
Original pull request: #2934
2024-08-08 15:32:54 +02:00
Zhian Chen
b41547e825 Replace Lettuce's verifyPeer with verifyMode.
Revert modifying type of VerifyMode for DefaultLettuceClientConfiguration constructor

Closes #2899
Original pull request: #2934
2024-08-08 15:32:54 +02:00
Mark Paluch
4ec61414c2 Polishing.
Reorder methods, reformat code.

Original Pull Request: #2959
2024-08-08 15:16:12 +02:00
Mark Paluch
20688c5a26 Revise RedisKeyValueAdapter to support lifecycle.
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.

Closes: #2957
Original Pull Request: #2959
2024-08-08 15:16:12 +02:00
Mark Paluch
bcb4fd1d74 CI ping. 2024-08-08 15:05:27 +02:00
Mark Paluch
5c94b65dd7 CI ping. 2024-08-08 15:02:44 +02:00
Mark Paluch
dfb65da436 Upgrade to Maven Wrapper 3.9.8.
See #2961
2024-08-08 10:22:08 +02:00
Mark Paluch
dd5ca74d91 Update CI properties.
See #2912
2024-08-08 10:20:12 +02:00
Christoph Strobl
57c294e508 Polishing.
Move reading shadow copy to dedicated method, update GH issue references, add test and fix formatting.

Original Pull Request: #2955
2024-08-06 10:05:04 +02:00
Lucian Torje
3e8081926d Do not attempt to delete phantom key if ShadowCopy is OFF
This commit makes sure to consider the ShadowCopy flag for expiring key events and prevents delete attempts if shadow copy is off.

Closes: #2954
Original Pull Request: #2955
2024-08-06 10:05:04 +02:00
Mark Paluch
c1521b610e Polishing.
Remove lingering DEVELOCITY_CACHE credential declarations. Address typo.

See #2947
2024-08-01 10:40:15 +02:00
Eric Haag
5453b0b083 Migrate build to Spring Develocity Conventions extension.
* Migrate build to Spring Develocity Conventions extension.

* Adopt Develocity environment variables.

Closes #2947
2024-08-01 10:22:22 +02:00
Mark Paluch
044b89f55c Remove recent version badges from readme.
We now no longer have a resource that serves these.

Closes #2916
2024-08-01 10:19:53 +02:00
Mark Paluch
5624f12603 Bundle Javadoc with Antora documentation site.
Closes #2950
2024-07-31 14:29:50 +02:00
Christoph Strobl
8b5f29ec96 Deprecate method instead of removing it.
Original Pull Request: #2935
2024-07-02 08:22:51 +02:00
Seungrae
4203a5bb67 Fix misspelled method name in RedisPersistentEntity.
Resolves: #2933
Closes: #2935
2024-07-02 08:21:32 +02:00
Mark Paluch
6ce2896ba1 Remove Slack notification.
See #2929
2024-06-20 14:07:27 +02:00
Mark Paluch
3fed336179 Switch to Broadcom docker proxy.
Closes #2929
2024-06-20 14:07:12 +02:00
Mark Paluch
a7d39147cf Add CI stage testing against valkey.
Closes #2923
2024-06-05 11:24:41 +02:00
Mark Paluch
1e6c1e8c0e Introduce placeholders to Makefile to configure server backends.
Closes #2922
2024-06-04 08:28:56 +02:00
Mark Paluch
d996de2b07 Provide class loader to ProxyFactory to create BoundOperation proxies.
Closes #2920
2024-05-31 09:26:55 +02:00
Mark Paluch
f11c9f1cd5 Polishing.
Remove lingering asciidoc Maven plugin.

See #2893
2024-05-21 14:57:37 +02:00
Mark Paluch
8357c7d88b Polishing.
Revise builder. Accept builder components in builder methods instead of the builder factory method. Enforce valid parameters instead of lenient, potentially null parameters.

Introduce configuration means to control default typing. Extend tests.

See #2878
Original pull request: #2905
2024-05-21 14:56:17 +02:00
annemayor
33326aa2db Allow configuring custom NullValueSerializer.
Closes #2878
Original pull request: #2905
2024-05-21 14:56:17 +02:00
Mark Paluch
ea84629bac After release cleanups.
See #2893
2024-05-17 11:51:34 +02:00