|
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.GCPastMetadata
Field Summary | |
protected long |
expiration
DESCRIBE THE FIELD |
Constructor Summary | |
GCPastMetadata(long expiration)
Constructor. |
Method Summary | |
int |
compareTo(java.lang.Object other)
Comparable, returns -1 if less, 0 if equal, and 1 if greater |
boolean |
equals(java.lang.Object o)
DESCRIBE THE METHOD |
long |
getExpiration()
Method which returns the expiration time |
int |
hashCode()
DESCRIBE THE METHOD |
GCPastMetadata |
setExpiration(long expiration)
Method which sets the expiration time |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected long expiration
Constructor Detail |
public GCPastMetadata(long expiration)
expiration
- DESCRIBE THE PARAMETERMethod Detail |
public long getExpiration()
public GCPastMetadata setExpiration(long expiration)
expiration
- The new Expiration value
public boolean equals(java.lang.Object o)
o
- DESCRIBE THE PARAMETER
public int hashCode()
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
other
- The object ot compare to
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |