|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
fetch(rice.pastry.IdSet keySet)
This upcall is invoked to notify the application that is should fetch the cooresponding keys in this set, since the node is now responsible for these keys also. |
void |
isResponsible(rice.pastry.IdRange range)
This upcall is to notify the application of the range of keys for which it is responsible. |
void |
rmIsReady(rice.rm.RM rm)
This upcall is simply to denote that the underlying replica manager (rm) is ready. |
rice.pastry.IdSet |
scan(rice.pastry.IdRange range)
This upcall should return the set of keys that the application currently stores in this range. |
Method Detail |
public void fetch(rice.pastry.IdSet keySet)
keySet
- set containing the keys that needs to be fetchedpublic void rmIsReady(rice.rm.RM rm)
rm
- the instance of the Replica Managerpublic void isResponsible(rice.pastry.IdRange range)
range
- the range of keys for which the local node is currently
responsiblepublic rice.pastry.IdSet scan(rice.pastry.IdRange range)
range
- the requested range
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |