Class NetUtils
- java.lang.Object
-
- org.elasticsearch.core.internal.net.NetUtils
-
public class NetUtils extends java.lang.ObjectUtilities for network-related methods.
-
-
Constructor Summary
Constructors Constructor Description NetUtils()
-
Method Summary
Modifier and Type Method Description static java.net.SocketOption<java.lang.Integer>getTcpKeepCountSocketOptionOrNull()Returns the extended TCP_KEEPCOUNT socket option, if available on this JDKstatic java.net.SocketOption<java.lang.Integer>getTcpKeepIdleSocketOptionOrNull()Returns the extended TCP_KEEPIDLE socket option, if available on this JDKstatic java.net.SocketOption<java.lang.Integer>getTcpKeepIntervalSocketOptionOrNull()Returns the extended TCP_KEEPINTERVAL socket option, if available on this JDK
-
-
-
Method Detail
-
getTcpKeepIdleSocketOptionOrNull
public static java.net.SocketOption<java.lang.Integer> getTcpKeepIdleSocketOptionOrNull()
Returns the extended TCP_KEEPIDLE socket option, if available on this JDK
-
getTcpKeepIntervalSocketOptionOrNull
public static java.net.SocketOption<java.lang.Integer> getTcpKeepIntervalSocketOptionOrNull()
Returns the extended TCP_KEEPINTERVAL socket option, if available on this JDK
-
getTcpKeepCountSocketOptionOrNull
public static java.net.SocketOption<java.lang.Integer> getTcpKeepCountSocketOptionOrNull()
Returns the extended TCP_KEEPCOUNT socket option, if available on this JDK
-
-