|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.past.gc.rawserialization.JavaSerializedGCPastContent
DESCRIBE THE CLASS
Field Summary | |
GCPastContent |
content
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
Constructor Summary | |
JavaSerializedGCPastContent(GCPastContent content)
Constructor for JavaSerializedGCPastContent. |
Method Summary | |
PastContent |
checkInsert(Id id,
PastContent existingContent)
DESCRIBE THE METHOD |
PastContent |
getContent()
Gets the Content attribute of the JavaSerializedGCPastContent object |
GCPastContentHandle |
getHandle(GCPast local,
long expiration)
Gets the Handle attribute of the JavaSerializedGCPastContent object |
PastContentHandle |
getHandle(Past local)
Gets the Handle attribute of the JavaSerializedGCPastContent object |
Id |
getId()
Gets the Id attribute of the JavaSerializedGCPastContent object |
GCPastMetadata |
getMetadata(long expiration)
Gets the Metadata attribute of the JavaSerializedGCPastContent object |
short |
getType()
Gets the Type attribute of the JavaSerializedGCPastContent object |
long |
getVersion()
Gets the Version attribute of the JavaSerializedGCPastContent object |
boolean |
isMutable()
Gets the Mutable attribute of the JavaSerializedGCPastContent object |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public GCPastContent content
public static final short TYPE
Constructor Detail |
public JavaSerializedGCPastContent(GCPastContent content)
content
- DESCRIBE THE PARAMETERMethod Detail |
public short getType()
getType
in interface RawPastContent
public PastContent getContent()
public PastContentHandle getHandle(Past local)
getHandle
in interface PastContent
local
- DESCRIBE THE PARAMETER
public Id getId()
getId
in interface PastContent
public boolean isMutable()
isMutable
in interface PastContent
public long getVersion()
getVersion
in interface GCPastContent
public GCPastContentHandle getHandle(GCPast local, long expiration)
getHandle
in interface GCPastContent
local
- DESCRIBE THE PARAMETERexpiration
- DESCRIBE THE PARAMETER
public GCPastMetadata getMetadata(long expiration)
getMetadata
in interface GCPastContent
expiration
- DESCRIBE THE PARAMETER
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawPastContent
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic java.lang.String toString()
public PastContent checkInsert(Id id, PastContent existingContent) throws PastException
checkInsert
in interface PastContent
id
- DESCRIBE THE PARAMETERexistingContent
- DESCRIBE THE PARAMETER
PastException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |