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()
           
abstract  String getName()
           
 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()

getName

public abstract String getName()


Copyright © 2012. All Rights Reserved.