|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.past.gc.GCPastMetadata
public class 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)
Compares this to the parameter. |
long |
getExpiration()
Method which returns the expiration time |
int |
hashCode()
Computes a hash value for this object. |
GCPastMetadata |
setExpiration(long expiration)
Method which sets the expiration time |
java.lang.String |
toString()
Converts to a String representation of the object. |
| 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 PARAMETER| Method Detail |
|---|
public long getExpiration()
public GCPastMetadata setExpiration(long expiration)
expiration - The new Expiration value
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the reference object with which to compare.
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparableother - The object ot compare to
public java.lang.String toString()
toString in class java.lang.Object
|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||