diff --git a/redisson/src/main/java/org/redisson/api/RSet.java b/redisson/src/main/java/org/redisson/api/RSet.java index 979906eab..bee2779c1 100644 --- a/redisson/src/main/java/org/redisson/api/RSet.java +++ b/redisson/src/main/java/org/redisson/api/RSet.java @@ -267,6 +267,8 @@ public interface RSet extends Set, RExpirable, RSetAsync, RSortable + * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @return amount of elements @@ -275,6 +277,8 @@ public interface RSet extends Set, RExpirable, RSetAsync, RSortable + * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @param limit - sets intersection limit diff --git a/redisson/src/main/java/org/redisson/api/RSetAsync.java b/redisson/src/main/java/org/redisson/api/RSetAsync.java index 0731454ae..8f2e8096e 100644 --- a/redisson/src/main/java/org/redisson/api/RSetAsync.java +++ b/redisson/src/main/java/org/redisson/api/RSetAsync.java @@ -133,6 +133,8 @@ public interface RSetAsync extends RCollectionAsync, RSortableAsync /** * Counts elements of set as a result of sets intersection with current set. + *

+ * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @return amount of elements @@ -141,6 +143,8 @@ public interface RSetAsync extends RCollectionAsync, RSortableAsync /** * Counts elements of set as a result of sets intersection with current set. + *

+ * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @param limit - sets intersection limit diff --git a/redisson/src/main/java/org/redisson/api/RSetReactive.java b/redisson/src/main/java/org/redisson/api/RSetReactive.java index adcf7bb78..1b210e367 100644 --- a/redisson/src/main/java/org/redisson/api/RSetReactive.java +++ b/redisson/src/main/java/org/redisson/api/RSetReactive.java @@ -211,6 +211,8 @@ public interface RSetReactive extends RCollectionReactive, RSortableReacti /** * Counts elements of set as a result of sets intersection with current set. + *

+ * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @return amount of elements @@ -219,6 +221,8 @@ public interface RSetReactive extends RCollectionReactive, RSortableReacti /** * Counts elements of set as a result of sets intersection with current set. + *

+ * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @param limit - sets intersection limit diff --git a/redisson/src/main/java/org/redisson/api/RSetRx.java b/redisson/src/main/java/org/redisson/api/RSetRx.java index db5fa2c71..511a179ae 100644 --- a/redisson/src/main/java/org/redisson/api/RSetRx.java +++ b/redisson/src/main/java/org/redisson/api/RSetRx.java @@ -213,6 +213,8 @@ public interface RSetRx extends RCollectionRx, RSortableRx> { /** * Counts elements of set as a result of sets intersection with current set. + *

+ * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @return amount of elements @@ -221,6 +223,8 @@ public interface RSetRx extends RCollectionRx, RSortableRx> { /** * Counts elements of set as a result of sets intersection with current set. + *

+ * Requires Redis 7.0.0 and higher. * * @param names - name of sets * @param limit - sets intersection limit