com.redis.spring.batch.writer.operation.RpushAll Maven / Gradle / Ivy
The newest version!
package com.redis.spring.batch.writer.operation;
import java.util.Collection;
import java.util.function.Function;
import io.lettuce.core.RedisFuture;
import io.lettuce.core.api.async.RedisListAsyncCommands;
public class RpushAll extends AbstractPushAll {
public RpushAll(Function keyFunction, Function> valuesFunction) {
super(keyFunction, valuesFunction);
}
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
protected RedisFuture doPush(RedisListAsyncCommands commands, K key, V[] values) {
return commands.rpush(key, values);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy