Package org.xbill.DNS
Class NioClient
java.lang.Object
org.xbill.DNS.NioClient
Manages the network I/O for the
SimpleResolver. It is mostly an implementation detail of
dnsjava and the only method intended to be called is close() - and only if
dnsjava is used in an application container like Tomcat. In a normal JVM setup close() is called by a shutdown hook.
The following configuration parameter is available:
- dnsjava.nio.selector_timeout
- Set selector timeout in milliseconds. Default/Max 1000, Min 1.
- Since:
- 3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclose()Shutdown the network I/O used by theSimpleResolver.
-
Constructor Details
-
NioClient
public NioClient()
-
-
Method Details
-
close
public static void close()Shutdown the network I/O used by theSimpleResolver.
-