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

com.redis.spring.batch.writer.OperationItemWriter Maven / Gradle / Ivy

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

import com.redis.spring.batch.common.Operation;

import io.lettuce.core.AbstractRedisClient;
import io.lettuce.core.codec.RedisCodec;

public class OperationItemWriter extends AbstractOperationItemWriter {

	private final Operation operation;

	public OperationItemWriter(AbstractRedisClient client, RedisCodec codec,
			Operation operation) {
		super(client, codec);
		this.operation = operation;
	}

	@Override
	protected Operation writeOperation() {
		return operation;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy