|
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.AggregateHandle
DESCRIBE THE CLASS
Field Summary | |
protected long |
expiration
DESCRIBE THE FIELD |
protected NodeHandle |
handle
DESCRIBE THE FIELD |
protected Id |
id
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
protected long |
version
DESCRIBE THE FIELD |
Constructor Summary | |
AggregateHandle(InputBuffer buf,
Endpoint endpoint)
Constructor for AggregateHandle. |
|
AggregateHandle(NodeHandle handle,
Id id,
long version,
long expiration)
Constructor for AggregateHandle. |
Method Summary | |
long |
getExpiration()
Gets the Expiration attribute of the AggregateHandle object |
Id |
getId()
Gets the Id attribute of the AggregateHandle object |
NodeHandle |
getNodeHandle()
Gets the NodeHandle attribute of the AggregateHandle object |
short |
getType()
Gets the Type attribute of the AggregateHandle object |
long |
getVersion()
Gets the Version attribute of the AggregateHandle object |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Id id
protected NodeHandle handle
protected long version
protected long expiration
public static final short TYPE
Constructor Detail |
public AggregateHandle(NodeHandle handle, Id id, long version, long expiration)
handle
- DESCRIBE THE PARAMETERid
- DESCRIBE THE PARAMETERversion
- DESCRIBE THE PARAMETERexpiration
- DESCRIBE THE PARAMETERpublic AggregateHandle(InputBuffer buf, Endpoint endpoint) throws java.io.IOException
buf
- DESCRIBE THE PARAMETERendpoint
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
public Id getId()
getId
in interface PastContentHandle
public NodeHandle getNodeHandle()
getNodeHandle
in interface PastContentHandle
public long getVersion()
getVersion
in interface GCPastContentHandle
public long getExpiration()
getExpiration
in interface GCPastContentHandle
public short getType()
getType
in interface RawPastContentHandle
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawPastContentHandle
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |