com.redislabs.riot.redis.writer.AbstractCommandWriter Maven / Gradle / Ivy
package com.redislabs.riot.redis.writer;
import com.redislabs.riot.redis.RedisCommands;
import lombok.Setter;
@SuppressWarnings("rawtypes")
public abstract class AbstractCommandWriter implements CommandWriter {
private @Setter RedisCommands commands;
@Override
public Object write(Object redis, O item) throws Exception {
return write(commands, redis, item);
}
protected abstract Object write(RedisCommands commands, Object redis, O item) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy