|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.past.gc.rawserialization.JavaSerializedGCPastContent
public class JavaSerializedGCPastContent
| Field Summary | |
|---|---|
GCPastContent |
content
|
static short |
TYPE
|
| Constructor Summary | |
|---|---|
JavaSerializedGCPastContent(GCPastContent content)
|
|
| Method Summary | |
|---|---|
PastContent |
checkInsert(Id id,
PastContent existingContent)
Checks if a insert operation should be allowed. |
PastContent |
getContent()
|
GCPastContentHandle |
getHandle(GCPast local,
long expiration)
Produces a handle for this content object. |
PastContentHandle |
getHandle(Past local)
Produces a handle for this content object. |
Id |
getId()
Returns the Id under which this object is stored in Past. |
GCPastMetadata |
getMetadata(long expiration)
Returns the metadata which should be stored with this object. |
short |
getType()
|
long |
getVersion()
Returns the version number associated with this PastContent object - version numbers are designed to be monotonically increasing numbers which signify different versions of the same object. |
boolean |
isMutable()
States if this content object is mutable. |
void |
serialize(OutputBuffer buf)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short TYPE
public GCPastContent content
| Constructor Detail |
|---|
public JavaSerializedGCPastContent(GCPastContent content)
| Method Detail |
|---|
public void serialize(OutputBuffer buf)
throws java.io.IOException
serialize in interface RawPastContentjava.io.IOExceptionpublic short getType()
getType in interface RawPastContentpublic java.lang.String toString()
toString in class java.lang.Objectpublic PastContent getContent()
public PastContent checkInsert(Id id,
PastContent existingContent)
throws PastException
PastContent
checkInsert in interface PastContentid - the key identifying the object
PastExceptionpublic PastContentHandle getHandle(Past local)
PastContent
getHandle in interface PastContentpublic Id getId()
PastContent
getId in interface PastContentpublic boolean isMutable()
PastContent
isMutable in interface PastContentpublic long getVersion()
GCPastContent
getVersion in interface GCPastContent
public GCPastContentHandle getHandle(GCPast local,
long expiration)
GCPastContent
getHandle in interface GCPastContentpublic GCPastMetadata getMetadata(long expiration)
GCPastContent
getMetadata in interface GCPastContent
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||