redis.clients.util
Class ShardInfo<T>

java.lang.Object
  extended by redis.clients.util.ShardInfo<T>
Direct Known Subclasses:
JedisShardInfo

public abstract class ShardInfo<T>
extends Object


Constructor Summary
ShardInfo()
           
ShardInfo(int weight)
           
 
Method Summary
protected abstract  T createResource()
           
 int getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardInfo

public ShardInfo()

ShardInfo

public ShardInfo(int weight)
Method Detail

getWeight

public int getWeight()

createResource

protected abstract T createResource()


Copyright © 2010. All Rights Reserved.