|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.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 PastContentid - the key identifying the objectexistingObj - the existing object stored on this node (null
if no object associated with id is stored on this node)
PastExceptionpublic PastContentHandle getHandle(Past local)
getHandle in interface PastContentlocal - The local past service
public 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 | |||||||||