|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
DESCRIBE THE INTERFACE
| Method Summary | |
void |
flush(Continuation command)
Creates aggregates from all objects in the local object cache. |
void |
flush(Id id,
Continuation command)
Creates an aggregate that includes the most current object with the specified key. |
java.io.Serializable |
getHandle()
Fetches the handle object. |
void |
reset(Continuation command)
Deletes all local state, including the aggregate list and all objects waiting in the local buffer. |
void |
rollback(Id id,
Continuation command)
Attempts to retrieve the most recent object that has been inserted by the local node under the specified key. |
void |
setHandle(java.io.Serializable handle,
Continuation command)
Restores the handle object. |
| Method Detail |
public java.io.Serializable getHandle()
public void setHandle(java.io.Serializable handle,
Continuation command)
handle - the handle objectcommand - Command to be performed when the method completes.
public void flush(Id id,
Continuation command)
id - the key of the object to be made persistent.command - Command to be performed when the method completes.public void flush(Continuation command)
command - Command to be performed when the method completes.
public void rollback(Id id,
Continuation command)
id - the key of the object to be retrievedcommand - Command to be performed when the method completes.public void reset(Continuation command)
command - Command to be performed when the method completes.
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||