|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--rice.p2p.past.ContentHashPastContent
| Field Summary | |
protected rice.p2p.commonapi.Id |
myId
|
| Constructor Summary | |
ContentHashPastContent()
|
|
| Method Summary | |
rice.p2p.past.PastContent |
checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
Checks if a insert operation should be allowed. |
rice.p2p.past.PastContentHandle |
getHandle(rice.p2p.past.Past local)
Produces a handle for this content object. |
rice.p2p.commonapi.Id |
getId()
Returns the Id under which this object is stored in Past. |
void |
insert(rice.p2p.past.Past past,
rice.Continuation command)
Inserts this object into its associated Past instance. |
boolean |
isMutable()
States if this content object is mutable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected rice.p2p.commonapi.Id myId
| Constructor Detail |
public ContentHashPastContent()
| Method Detail |
public void insert(rice.p2p.past.Past past,
rice.Continuation command)
past - The local past servicecommand - Command to be performed when the result is received
public rice.p2p.past.PastContent checkInsert(rice.p2p.commonapi.Id id,
rice.p2p.past.PastContent existingContent)
throws PastException
checkInsert in interface PastContentid - the key identifying the object
PastExceptionpublic rice.p2p.past.PastContentHandle getHandle(rice.p2p.past.Past local)
getHandle in interface PastContentlocal - The local past service
public rice.p2p.commonapi.Id getId()
getId in interface PastContentpublic boolean isMutable()
isMutable in interface PastContent
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||