|
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 receivedpublic rice.p2p.past.PastContent checkInsert(rice.p2p.commonapi.Id id, rice.p2p.past.PastContent existingContent) throws PastException
checkInsert
in interface PastContent
id
- the key identifying the object
PastException
public rice.p2p.past.PastContentHandle getHandle(rice.p2p.past.Past local)
getHandle
in interface PastContent
local
- The local past service
public rice.p2p.commonapi.Id getId()
getId
in interface PastContent
public 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 |