|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersioningPast
| 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 |
|---|
void lookup(Id id,
long version,
Continuation command)
id - the key to be queriedcommand - Command to be performed when the result is received
void lookupHandles(Id id,
long version,
int num,
Continuation command)
id - the key to be queriedversion - the requested versionmax - the maximal number of replicas requestedcommand - Command to be performed when the result is received
void refresh(Id[] ids,
long[] versions,
long[] expirations,
Continuation command)
id - The keys which to refreshversion - The versions which to refreshexpiration - The time to extend the lifetime tocommand - Command to be performed when the result is received
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||