redis.clients.util
Class ShardInfo<T>
java.lang.Object
redis.clients.util.ShardInfo<T>
- Direct Known Subclasses:
- JedisShardInfo
public abstract class ShardInfo<T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShardInfo
public ShardInfo()
ShardInfo
public ShardInfo(int weight)
getWeight
public int getWeight()
createResource
protected abstract T createResource()
getName
public abstract String getName()
Copyright © 2012. All Rights Reserved.