|
|
@ -310,7 +310,9 @@ public class RedissonListMultimap<K, V> extends RedissonMultimap<K, V> implement
|
|
|
|
"redis.call('hset', KEYS[1], ARGV[1], ARGV[2]); " +
|
|
|
|
"redis.call('hset', KEYS[1], ARGV[1], ARGV[2]); " +
|
|
|
|
"local members = redis.call('lrange', KEYS[2], 0, -1); " +
|
|
|
|
"local members = redis.call('lrange', KEYS[2], 0, -1); " +
|
|
|
|
"redis.call('del', KEYS[2]); " +
|
|
|
|
"redis.call('del', KEYS[2]); " +
|
|
|
|
"redis.call('rpush', KEYS[2], unpack(ARGV, 3, #ARGV)); " +
|
|
|
|
"if #ARGV > 2 then " +
|
|
|
|
|
|
|
|
"redis.call('rpush', KEYS[2], unpack(ARGV, 3, #ARGV)); " +
|
|
|
|
|
|
|
|
"end; " +
|
|
|
|
"return members; ",
|
|
|
|
"return members; ",
|
|
|
|
Arrays.<Object>asList(getRawName(), setName), params.toArray());
|
|
|
|
Arrays.<Object>asList(getRawName(), setName), params.toArray());
|
|
|
|
}
|
|
|
|
}
|
|
|
|