redis.clients.util.ShardInfo 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
A java client for github.com/antirez/redis, a fork of github.com/xetorthio/jedis
The newest version!
package redis.clients.util;
public abstract class ShardInfo {
private int weight;
public ShardInfo() {
}
public ShardInfo(int weight) {
this.weight = weight;
}
public int getWeight() {
return this.weight;
}
protected abstract T createResource();
public abstract String getName();
}