net.jxta.impl.cm
Class SrdiCache.SrdiEntry
java.lang.Object
net.jxta.impl.util.Dlink
net.jxta.impl.cm.SrdiCache.SrdiEntry
- Enclosing class:
- SrdiCache
- class SrdiCache.SrdiEntry
- extends Dlink
Description of the Class
Constructor Summary |
SrdiCache.SrdiEntry(Object path,
long expiration)
Constructor for the SrdiEntry object
relative time is converted to absolute time |
Method Summary |
long |
getExpiration()
Gets the expiration attribute of the SrdiEntry object |
Object |
getPath()
Gets the path attribute of the SrdiEntry object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SrdiCache.SrdiEntry
public SrdiCache.SrdiEntry(Object path,
long expiration)
- Constructor for the SrdiEntry object
relative time is converted to absolute time
- Parameters:
path
- pathexpiration
- expiration associated with this entry
relative time in milliseconds
getPath
public Object getPath()
- Gets the path attribute of the SrdiEntry object
- Returns:
- The path value
getExpiration
public long getExpiration()
- Gets the expiration attribute of the SrdiEntry object
- Returns:
- The expiration value