java.net
Class NegCacheElement
java.lang.Object
java.net.NegCacheElement
class NegCacheElement
- extends Object
This class is used to hold information about failed name lookups
|
Method Summary |
(package private) String |
hostName()
Returns the hostname for the cache element |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nanoTimeAdded
long nanoTimeAdded
hostName
String hostName
NegCacheElement
public NegCacheElement()
- default constructor
NegCacheElement
public NegCacheElement(String hostName)
- Constructor used to set the hostname for the failed entry
- Parameters:
hostName - name of the host on which the lookup failed
hostName
String hostName()
- Returns the hostname for the cache element
- Returns:
- hostName name of the host on which the lookup failed
Please submit a feedback, bug or feature