| 
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.aggregation.Aggregate
DESCRIBE THE CLASS
| Field Summary | |
protected  GCPastContent[] | 
components
DESCRIBE THE FIELD  | 
protected  Id | 
myId
DESCRIBE THE FIELD  | 
protected  Id[] | 
pointers
DESCRIBE THE FIELD  | 
| Constructor Summary | |
Aggregate(GCPastContent[] components,
          Id[] pointers)
Constructor for Aggregate.  | 
|
| Method Summary | |
 PastContent | 
checkInsert(Id id,
            PastContent existingContent)
DESCRIBE THE METHOD  | 
 GCPastContent | 
getComponent(int index)
Gets the Component attribute of the Aggregate object  | 
 byte[] | 
getContentHash()
Gets the ContentHash attribute of the Aggregate object  | 
 GCPastContentHandle | 
getHandle(GCPast local,
          long expiration)
Gets the Handle attribute of the Aggregate object  | 
 PastContentHandle | 
getHandle(Past local)
Gets the Handle attribute of the Aggregate object  | 
 Id | 
getId()
Gets the Id attribute of the Aggregate object  | 
 GCPastMetadata | 
getMetadata(long expiration)
Gets the Metadata attribute of the Aggregate object  | 
 Id[] | 
getPointers()
Gets the Pointers attribute of the Aggregate object  | 
 long | 
getVersion()
Gets the Version attribute of the Aggregate object  | 
 boolean | 
isMutable()
Gets the Mutable attribute of the Aggregate object  | 
 int | 
numComponents()
DESCRIBE THE METHOD  | 
 void | 
setId(Id myId)
Sets the Id attribute of the Aggregate object  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected GCPastContent[] components
protected Id[] pointers
protected Id myId
| Constructor Detail | 
public Aggregate(GCPastContent[] components,
                 Id[] pointers)
components - DESCRIBE THE PARAMETERpointers - DESCRIBE THE PARAMETER| Method Detail | 
public Id getId()
getId in interface PastContentpublic Id[] getPointers()
public GCPastContent getComponent(int index)
index - DESCRIBE THE PARAMETER
public long getVersion()
getVersion in interface GCPastContentpublic boolean isMutable()
isMutable in interface PastContentpublic byte[] getContentHash()
public 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 GCPastMetadata getMetadata(long expiration)
getMetadata in interface GCPastContentexpiration - DESCRIBE THE PARAMETER
public void setId(Id myId)
myId - The new Id valuepublic int numComponents()
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 | ||||||||||