|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.cm.SrdiIndex.Entry
public static final class SrdiIndex.Entry
An entry in the index tables.
Field Summary | |
---|---|
long |
expiration
|
PeerID |
peerid
|
Constructor Summary | |
---|---|
SrdiIndex.Entry(PeerID peerid,
long expiration)
Peer Pointer reference |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getExpiration()
Return the absolute time in milliseconds at which this entry will expire. |
int |
hashCode()
|
boolean |
isExpired()
Return true if this entry is expired. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final PeerID peerid
public final long expiration
Constructor Detail |
---|
public SrdiIndex.Entry(PeerID peerid, long expiration)
peerid
- PeerID for this entryexpiration
- the expiration for this entryMethod Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public long getExpiration()
public boolean isExpired()
true
if this entry is expired.
true
if this entry is expired otherwise false
.
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |