|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
lookup(Id id,
long version,
Continuation command)
Retrieves the object stored in this instance of Past with the given ID and the specified version. |
void |
lookupHandles(Id id,
long version,
int num,
Continuation command)
Retrieves the handles of up to max replicas of the object stored in this instance of Past with the given ID. |
void |
refresh(Id[] ids,
long[] versions,
long[] expirations,
Continuation command)
Updates the objects stored under the provided keys id to expire no earlier than the provided expiration time. |
Method Detail |
public void lookup(Id id, long version, Continuation command)
id
- the key to be queried @version
- the requested versioncommand
- Command to be performed when the result is receivedpublic void lookupHandles(Id id, long version, int num, Continuation command)
id
- the key to be queriedversion
- the requested versioncommand
- Command to be performed when the result is receivednum
- DESCRIBE THE PARAMETERpublic void refresh(Id[] ids, long[] versions, long[] expirations, Continuation command)
command
- Command to be performed when the result is receivedids
- DESCRIBE THE PARAMETERversions
- DESCRIBE THE PARAMETERexpirations
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |