redis.clients.jedis.util.ShardInfo Maven / Gradle / Ivy
package redis.clients.jedis.util;
/**
* @deprecated This class will be removed in next major release.
*/
@Deprecated
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();
}