|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.p2p.past.ContentHashPastContent
Field Summary | |
protected Id |
myId
|
Constructor Summary | |
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. |
void |
insert(Past past,
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 Id myId
Constructor Detail |
public ContentHashPastContent()
Method Detail |
public void insert(Past past, Continuation command)
past
- The local past servicecommand
- Command to be performed when the result is receivedpublic PastContent checkInsert(Id id, PastContent existingContent) throws PastException
checkInsert
in interface PastContent
id
- the key identifying the object
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |