|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.aggregation.messaging.NonAggregate
public class NonAggregate
Just wraps a header in Past to know that it is something other than an Aggregate
Field Summary | |
---|---|
RawPastContent |
content
|
static short |
TYPE
|
Constructor Summary | |
---|---|
NonAggregate(InputBuffer buf,
Endpoint endpoint,
RawPastContent subContent,
PastContentDeserializer pcd)
|
|
NonAggregate(PastContent content)
|
|
NonAggregate(RawPastContent subContent)
|
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. |
short |
getType()
Raw Serialization |
boolean |
isMutable()
States if this content object is mutable. |
void |
serialize(OutputBuffer buf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short TYPE
public RawPastContent content
Constructor Detail |
---|
public NonAggregate(PastContent content)
public NonAggregate(RawPastContent subContent)
public NonAggregate(InputBuffer buf, Endpoint endpoint, RawPastContent subContent, PastContentDeserializer pcd) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public PastContent checkInsert(Id id, PastContent existingContent) throws PastException
PastContent
checkInsert
in interface PastContent
id
- the key identifying the object
PastException
public PastContentHandle getHandle(Past local)
PastContent
getHandle
in interface PastContent
public Id getId()
PastContent
getId
in interface PastContent
public boolean isMutable()
PastContent
isMutable
in interface PastContent
public short getType()
getType
in interface RawPastContent
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawPastContent
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |