|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationClient
Method Summary | |
---|---|
void |
fetch(IdSet keySet,
NodeHandle hint)
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. |
IdSet |
scan(IdRange range)
This upcall should return the set of keys that the application currently stores in this range. |
void |
setRange(IdRange range)
This upcall is to notify the application of the range of keys for which it is responsible. |
Method Detail |
---|
void fetch(IdSet keySet, NodeHandle hint)
keySet
- set containing the keys that needs to be fetchedhint
- A hint as to where to find the ids in the key set. This
is where the local node heard about the keys from.void setRange(IdRange range)
range
- the range of keys for which the local node is currently
responsibleIdSet scan(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 |