@@ -26,7 +26,7 @@ import org.springframework.data.redis.util.ByteUtils;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} paris.
|
||||
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} pairs.
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @see 2.2
|
||||
|
||||
@@ -22,7 +22,7 @@ import org.springframework.data.redis.serializer.RedisSerializer;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
/**
|
||||
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} paris.
|
||||
* A {@link Record} within the stream backed by a collection of binary {@literal field/value} pairs.
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @see 2.2
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.lang.Nullable;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* A {@link Record} within the stream backed by a collection of {@literal field/value} paris.
|
||||
* A {@link Record} within the stream backed by a collection of {@literal field/value} pairs.
|
||||
*
|
||||
* @param <K> the field type of the backing map.
|
||||
* @param <V> the value type of the backing map.
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
package org.springframework.data.redis.connection.stream;
|
||||
|
||||
/**
|
||||
* A {@link Record} within the stream backed by a collection of {@link String} {@literal field/value} paris.
|
||||
* A {@link Record} within the stream backed by a collection of {@link String} {@literal field/value} pairs.
|
||||
*
|
||||
* @author Christoph Strobl
|
||||
* @since 2.2
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.springframework.data.redis.connection.RedisStringCommands;
|
||||
class LettuceReactiveClusterStringCommandsIntegrationTests extends LettuceReactiveClusterTestSupport {
|
||||
|
||||
@Test // DATAREDIS-525
|
||||
void mSetNXShouldAddMultipleKeyValueParisWhenMappedToSameSlot() {
|
||||
void mSetNXShouldAddMultipleKeyValuePairsWhenMappedToSameSlot() {
|
||||
|
||||
Map<ByteBuffer, ByteBuffer> map = new LinkedHashMap<>();
|
||||
map.put(SAME_SLOT_KEY_1_BBUFFER, VALUE_1_BBUFFER);
|
||||
@@ -47,7 +47,7 @@ class LettuceReactiveClusterStringCommandsIntegrationTests extends LettuceReacti
|
||||
}
|
||||
|
||||
@Test // DATAREDIS-525
|
||||
void mSetNXShouldNotAddMultipleKeyValueParisWhenAlreadyExitAndMapToSameSlot() {
|
||||
void mSetNXShouldNotAddMultipleKeyValuePairsWhenAlreadyExitAndMapToSameSlot() {
|
||||
|
||||
nativeCommands.set(SAME_SLOT_KEY_2, VALUE_2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user