
redis.clients.jedis.ShardedJedisPipeline Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
Jedis is a blazingly small and sane Redis java client.
package redis.clients.jedis;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
public class ShardedJedisPipeline extends PipelineBase {
private BinaryShardedJedis jedis;
private List results = new ArrayList();
private Queue clients = new LinkedList();
private static class FutureResult {
private Client client;
public FutureResult(Client client) {
this.client = client;
}
public Object get() {
return client.getOne();
}
}
public void setShardedJedis(BinaryShardedJedis jedis) {
this.jedis = jedis;
}
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy