| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.glacier.v2.DebugContent
DESCRIBE THE CLASS
| Field Summary | |
protected  boolean | 
isMutable
DESCRIBE THE FIELD  | 
protected  Id | 
myId
DESCRIBE THE FIELD  | 
protected  byte[] | 
payload
DESCRIBE THE FIELD  | 
protected  long | 
version
DESCRIBE THE FIELD  | 
| Constructor Summary | |
DebugContent(Id id,
             boolean isMutable,
             long version,
             byte[] payload)
Constructor for DebugContent.  | 
|
| Method Summary | |
 PastContent | 
checkInsert(Id id,
            PastContent existingContent)
DESCRIBE THE METHOD  | 
 GCPastContentHandle | 
getHandle(GCPast local,
          long expiration)
Gets the Handle attribute of the DebugContent object  | 
 PastContentHandle | 
getHandle(Past local)
Gets the Handle attribute of the DebugContent object  | 
 Id | 
getId()
Gets the Id attribute of the DebugContent object  | 
 GCPastMetadata | 
getMetadata(long expiration)
Gets the Metadata attribute of the DebugContent object  | 
 byte[] | 
getPayload()
Gets the Payload attribute of the DebugContent object  | 
 long | 
getVersion()
Gets the Version attribute of the DebugContent object  | 
 boolean | 
isMutable()
Gets the Mutable attribute of the DebugContent object  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected Id myId
protected boolean isMutable
protected long version
protected transient byte[] payload
| Constructor Detail | 
public DebugContent(Id id,
                    boolean isMutable,
                    long version,
                    byte[] payload)
id - DESCRIBE THE PARAMETERisMutable - DESCRIBE THE PARAMETERversion - DESCRIBE THE PARAMETERpayload - DESCRIBE THE PARAMETER| Method Detail | 
public long getVersion()
getVersion in interface GCPastContentpublic PastContentHandle getHandle(Past local)
getHandle in interface PastContentlocal - DESCRIBE THE PARAMETER
public GCPastContentHandle getHandle(GCPast local,
                                     long expiration)
getHandle in interface GCPastContentlocal - DESCRIBE THE PARAMETERexpiration - DESCRIBE THE PARAMETER
public Id getId()
getId in interface PastContentpublic boolean isMutable()
isMutable in interface PastContentpublic byte[] getPayload()
public GCPastMetadata getMetadata(long expiration)
getMetadata in interface GCPastContentexpiration - DESCRIBE THE PARAMETER
public PastContent checkInsert(Id id,
                               PastContent existingContent)
                        throws PastException
checkInsert in interface PastContentid - 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 | ||||||||||