|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
exists(Id id)
This upcall should return whether or not the given id is currently stored locally by the client. |
void |
existsInOverlay(Id id,
Continuation command)
This upcall should return whether or not the given id is currently stored somewhere in the overlay by the client. |
void |
fetch(Id id,
NodeHandle hint,
Continuation command)
This upcall is invoked to tell the client to fetch the given id, and to call the given command with the boolean result once the fetch is completed. |
void |
reInsert(Id id,
Continuation command)
Asks a client to reinsert an object it already holds into the overlay |
void |
remove(Id id,
Continuation command)
This upcall is to notify the client that the given id can be safely removed from the storage. |
IdSet |
scan(IdRange range)
This upcall should return the set of keys that the application currently stores in this range. |
Method Detail |
public void fetch(Id id, NodeHandle hint, Continuation command)
id
- The id to fetchhint
- A hint where to find the key from. This is where the local node
heard about the key.command
- The command to return the result topublic void remove(Id id, Continuation command)
id
- The id to removecommand
- DESCRIBE THE PARAMETERpublic IdSet scan(IdRange range)
range
- the requested range
public boolean exists(Id id)
id
- The id in question
public void existsInOverlay(Id id, Continuation command)
id
- The id in questioncommand
- DESCRIBE THE PARAMETERpublic void reInsert(Id id, Continuation command)
id
- The id in questioncommand
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |