|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.store.slop.strategy.ProximityHandoffStrategy
public class ProximityHandoffStrategy
A preference list based handoff strategy which stores multi-zone information
Constructor Summary | |
---|---|
ProximityHandoffStrategy(Cluster cluster,
int clientZoneId)
Constructor which makes zone based mapping |
Method Summary | |
---|---|
java.util.List<Node> |
routeHint(Node origin)
Get an ordered "preference list" of nodes eligible to receive hints for a given node in case of that node's failure |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProximityHandoffStrategy(Cluster cluster, int clientZoneId)
cluster
- The clusterclientZoneId
- Client zone idMethod Detail |
---|
public java.util.List<Node> routeHint(Node origin)
HintedHandoffStrategy
routeHint
in interface HintedHandoffStrategy
origin
- The original node which failed to receive the request
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |