All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redis.spring.batch.writer.operation.Rpush Maven / Gradle / Ivy

The newest version!
package com.redis.spring.batch.writer.operation;

import java.util.function.Function;

import io.lettuce.core.RedisFuture;
import io.lettuce.core.api.async.RedisListAsyncCommands;

public class Rpush extends AbstractPush {

	public Rpush(Function keyFunction) {
		super(keyFunction);
	}

	@SuppressWarnings({ "unchecked", "rawtypes" })
	@Override
	protected RedisFuture doPush(RedisListAsyncCommands commands, K key, V value) {
		return commands.rpush(key, value);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy