Commit Graph

1813 Commits

Author SHA1 Message Date
Mark Paluch
5d968c94bf Fix broken Javadoc.
Closes #3148
2025-05-12 11:52:35 +02:00
Mark Paluch
2ac9c96e25 Prepare 3.5 RC1 (2025.0.0).
See #3120
2025-04-22 11:23:52 +02:00
Mark Paluch
5029094967 Refine Topic creation for ChannelTopic and PatternTopic.
We now expose factory methods to construct ChannelTopic and PatternTopic from the Topic interface.

See #3131
2025-04-17 15:51:20 +02:00
jonghoonpark
0de3af0ac5 Refine Topic creation for ChannelTopic and PatternTopic.
Signed-off-by: jonghoonpark <dev@jonghoonpark.com>

Closes #3131
2025-04-17 15:51:08 +02:00
Mark Paluch
73477919a6 Polishing.
Fix imports.

Original Pull Request: #3115
2025-04-14 09:27:46 +02:00
Mark Paluch
ba890c98e3 Prepare 3.5 M2 (2025.0.0).
See #3107
2025-03-14 09:30:46 +01:00
Mark Paluch
ef5e735f39 Polishing.
Reformat code, add since and author tags.

See #2883
Original pull request: #2918
2025-03-12 14:22:07 +01:00
annemayor
d5555126b3 Add exists(…) accepting multiple keys to Reactive API.
Closes #2883
Original pull request: #2918

Signed-off-by: Anne Lee <anne.lee@buzzvil.com>
2025-03-12 14:20:43 +01:00
Christoph Strobl
ce292f7fe5 Polishing.
Rename builder for ExpirationOptions, remove unused import and update javadoc.

Original Pull Request: #3115
2025-03-11 13:05:31 +01:00
Mark Paluch
e4009f47c4 Introduce BoundKeyExpirationOperations.
And rename entry points for Hash Field expiration from expiration to hashFieldExpiration.

Original Pull Request: #3115
2025-03-11 13:03:49 +01:00
Mark Paluch
b8d289208e Add support for conditional key expiry (XX/NX/LT/GT).
Move ExpirationOptions from Hash to top-level.

Closes: #3114
Original Pull Request: #3115
2025-03-11 13:02:08 +01:00
Christoph Strobl
06f35914c5 Polishing.
Update javadoc and format sources.

See #3054.
2025-03-05 14:38:06 +01:00
Mark Paluch
c6ba95f271 Polishing.
Introduce command variants with Condition to avoid duplicate expireHashField(…) implementations. Move expireHashField to default method and rename it to applyExpiration(…). Rename Expiration to TimeToLive and methods to getTimeToLive(…).

Fix since tags.

Extract BoundHashFieldExpirationOperations to provide a fluent way of interacting with expirations on BoundHashOps and RedisMap. Add Hash Field Expiration commands to TypeHints for Lettuce.

See #3054
2025-03-05 14:32:51 +01:00
Christoph Strobl
5228bc7008 Add field expiration options to reactive API.
Make sure tests do not run when targeting older server versions.

Introduce dedicated objects for time to live and status changes.

See #3054
2025-03-05 14:32:51 +01:00
Tihomir Mateev
50ea34080c Add support for Hash Field Expiration.
Signed-off-by: Tihomir Mateev <tihomir.mateev@gmail.com>

Closes: #3054
2025-03-05 14:32:42 +01:00
Mark Paluch
5e71dbeb60 Polishing.
Reformat code, add since tags. Tweak Javadoc wording.

See #2853
Original pull request: #3017
2025-02-24 09:47:59 +01:00
Marcin Grzejszczak
cdf9dc360c Adds support for Redis SET … GET command.
Closes #2853
Original pull request: #3017
2025-02-24 09:47:37 +01:00
Mark Paluch
1b48a756f9 Prepare 3.5 M1 (2025.0.0).
See #3045
2025-02-14 12:22:19 +01:00
Mark Paluch
88333bd286 Polishing.
Reformat code.

See #3024
2025-02-10 11:43:24 +01:00
Mark Paluch
c3a5acea5b Disable flakey tests.
See #3095
2025-01-21 13:27:33 +01:00
Mark Paluch
939af145eb Polishing.
Remove tests for deprecated code.

See #2561
2025-01-16 14:03:05 +01:00
Mark Paluch
ce2c7caee7 Polishing.
Add missing Nullable annotations to serializers.

See #3053
Original pull request: #3058
2025-01-15 14:10:36 +01:00
kimjinmyeong
6f399ab6de Add missing @Override annotation to GenericJackson2JsonRedisSerializer.useForType.
This fixes an issue where the `useForType` method in
GenericJackson2JsonRedisSerializer did not have the `@Override`
annotation, making it less clear that it overrides a method
from DefaultTypeResolverBuilder.

Closes #3053
Original pull request: #3058
2025-01-15 14:10:15 +01:00
KIMSIWOO
0d27943539 Fix typo in reference cache example code.
Fixed minor typo on example code `build()` to `builder()`

Closes #3064
2025-01-15 14:00:26 +01:00
powercheng
36a665234c Fix typo in reference docs.
Closes #3082
2025-01-15 13:56:21 +01:00
Mark Paluch
0c90dea012 Use Integer return type for Number return types except Double and Float.
Lettuce's ValueOutput doesn't RESP 3 long values so we must use IntegerOutput instead.

Closes #3090
2025-01-13 14:35:13 +01:00
Mark Paluch
2bcdd36a36 Polishing.
Prepare pool for Jedis as well. Introduce generics for Add ticket references to tests.

Fix generics for GenericObjectPoolConfig using Lettuce.

See #3072
2025-01-10 14:06:20 +01:00
Asmir Mustafic
b7381ac6bb Prepare connection pool.
We now prepare the pool when the connection factory is started respective the pool has been instantiated.

Closes #3072
2025-01-10 14:01:33 +01:00
Mark Paluch
6966759c37 Extend license header copyright years to 2025.
See #3088
2025-01-08 10:04:50 +01:00
Mark Paluch
c83f5ac56f Upgrade to Lettuce 6.5.1.RELEASE.
Closes #3070
2024-12-12 09:11:04 +01:00
Mark Paluch
49f3f4e0d3 Polishing.
Tweak Javadoc wording for execute(…) with callback methods.

See #3049
Original pull request: #3055
2024-11-28 08:42:00 +01:00
Marcin Grzejszczak
3e16cc1bd5 Adds missing javadocs for RedisOperations.hasKey().
Also, added missing javadocs about what the method returns and about nullability.

Closes #3049
Original pull request: #3055
2024-11-28 08:41:02 +01:00
Marcin Grzejszczak
1ceb7ed5f1 Polishing.
Updated more javadocs where reference to a Redis command was invalid.

Original pull request: #3047
See: #3047
2024-11-26 11:39:54 +01:00
vaan_oxo
2b066a4aca Fix incorrect reference to SETNX in ReactiveValueOperations.setIfAbsent
Original pull request: #3047
Closes #3047
2024-11-26 11:39:28 +01:00
Mark Paluch
82cb467bc4 Prepare 3.4 GA (2024.1.0).
See #3025
2024-11-15 14:10:37 +01:00
Seungrae Kim
4f32c69ebc Fix typo in reference documentation.
Closes #3018
2024-11-14 15:50:30 +01:00
Mark Paluch
cb73f0b6ec Polishing.
Tweak wording.

See #3021
2024-11-14 15:49:06 +01:00
DongCheol Kim
e2746ecf5a Improve StreamMessageListenerContainer Javadoc.
Fix minor typos and improve the clarity of the StreamMessageListenerContainer Javadoc regarding subscription registration.

Closes #3021
2024-11-14 15:48:56 +01:00
Mark Paluch
b18829ffc2 Prepare 3.4 RC1 (2024.1.0).
See #2994
2024-10-18 12:46:44 +02:00
Mark Paluch
856776710e Polishing.
Fix Javadoc tags.

See #2994
2024-10-17 15:43:18 +02:00
Mark Paluch
b1e07f5e15 Polishing.
Replace subclass per command usage with lambdas.

See #2897
Original pull request: #2900
2024-10-11 10:26:05 +02:00
Ehsan Alemzadeh
12d97be97f Use extended SET instead of deprecated setEx, pSetEx and setNX commands.
Replace usage of deprecated commands setEx, pSetEx and setNX in DefaultValueOperations by set command with additional SetOption arguments

Closes #2897
Original pull request: #2900
2024-10-11 10:25:47 +02:00
Mark Paluch
83cb3d87d1 Fix Jedis cluster connection lookup for IPv6 hosts.
We previously used our own mechanism to Render Host and Port causing that IPv6 addresses were enclosed in brackets.

Now we've aligned with Jedis' keying by using HostAndPort that just concatenates the host and port part.

Closes #3015
2024-10-10 15:32:36 +02:00
Mark Paluch
3a9249b9fe Polishing.
Simplify code and tests.

See #3009
2024-10-10 15:22:54 +02:00
sujl95(TheWing)
b1453dabc0 Correctly handle null listener in RedisMessageListenerContainer.remove(…).
Closes #3009
2024-10-10 15:22:27 +02:00
Mark Paluch
20ceb4cf05 Polishing.
Introduce factory method overload accepting the default port so that Sentinel uses the right port.
Refine tests. Refine Javadoc.

See #2928
Original pull request: #3002
2024-10-10 15:03:02 +02:00
LeeHyungGeol
047e63ea78 RedisNode creation from bare hostname assigns default port.
Closes #2928
Original pull request: #3002
2024-10-10 15:01:59 +02:00
Mark Paluch
6e85141310 Polishing.
Consistently use literal null.

See #3010
2024-10-10 14:36:08 +02:00
Mark Paluch
31b6736c6b Consistently accept varargs with Redis Scripting.
Closes #3010
2024-10-10 14:35:54 +02:00
jinia91
7bedd602e7 Update RedisMessageListenerContainer docs.
Closes #3005
2024-10-10 14:21:17 +02:00