|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.past.ContentHashPastContent
public abstract class ContentHashPastContent
Field Summary | |
---|---|
protected Id |
myId
|
Constructor Summary | |
---|---|
ContentHashPastContent(Id myId)
|
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)
Method Detail |
---|
public PastContent checkInsert(Id id, PastContent existingContent) throws PastException
checkInsert
in interface PastContent
id
- the key identifying the objectexistingObj
- the existing object stored on this node (null
if no object associated with id is stored on this node)
PastException
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
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |