Build 1.0_r1(from source)

java.net
Class NegCacheElement

java.lang.Object
  extended by java.net.NegCacheElement

 class NegCacheElement
extends Object

This class is used to hold information about failed name lookups


Field Summary
(package private)  String hostName
           
(package private)  long nanoTimeAdded
           
 
Constructor Summary
NegCacheElement()
          default constructor
NegCacheElement(String hostName)
          Constructor used to set the hostname for the failed entry
 
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
 

Field Detail

nanoTimeAdded

long nanoTimeAdded

hostName

String hostName
Constructor Detail

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
Method Detail

hostName

String hostName()
Returns the hostname for the cache element

Returns:
hostName name of the host on which the lookup failed

Build 1.0_r1(from source)

Please submit a feedback, bug or feature