|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReplicationManagerClient
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 |
---|
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 tovoid remove(Id id, Continuation command)
id
- The id to removeIdSet scan(IdRange range)
range
- the requested rangeboolean exists(Id id)
id
- The id in question
void existsInOverlay(Id id, Continuation command)
id
- The id in questionvoid reInsert(Id id, Continuation command)
id
- The id in question
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |