public class ClusterClient.KeyCluster extends Object
Constructor and Description |
---|
ClusterClient.KeyCluster(short cluster,
voldemort.store.cachestore.Key key) |
ClusterClient.KeyCluster(short cluster,
voldemort.store.cachestore.Key key,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
addKey(voldemort.store.cachestore.Key key) |
short |
getCluster() |
int |
getIndex() |
List<voldemort.store.cachestore.Key> |
getKeyList() |
boolean |
isSameCluster(voldemort.utils.Pair<Short,Integer> pair) |
String |
toString() |
public ClusterClient.KeyCluster(short cluster, voldemort.store.cachestore.Key key, int index)
public ClusterClient.KeyCluster(short cluster, voldemort.store.cachestore.Key key)
public short getCluster()
public int getIndex()
public List<voldemort.store.cachestore.Key> getKeyList()
public void addKey(voldemort.store.cachestore.Key key)
Copyright © 2016. All rights reserved.