|
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 Id |
myId
DESCRIBE THE FIELD |
Constructor Summary | |
ContentHashPastContent(Id myId)
Constructor for ContentHashPastContent. |
Method Summary | |
PastContent |
checkInsert(Id id,
PastContent existingContent)
Checks if a insert operation should be allowed. |
PastContentHandle |
getHandle(Past local)
Produces a handle for this content object. |
Id |
getId()
Returns the Id under which this object is stored in Past. |
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 Id myId
Constructor Detail |
public ContentHashPastContent(Id myId)
myId
- DESCRIBE THE PARAMETERMethod Detail |
public PastContentHandle getHandle(Past local)
getHandle
in interface PastContent
local
- The local past service
public Id getId()
getId
in interface PastContent
public boolean isMutable()
isMutable
in interface PastContent
public PastContent checkInsert(Id id, PastContent existingContent) throws PastException
checkInsert
in interface PastContent
id
- the key identifying the objectexistingContent
- DESCRIBE THE PARAMETER
PastException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |