Class NetUtils
java.lang.Object
org.elasticsearch.core.internal.net.NetUtils
public class NetUtils
extends java.lang.Object
Utilities 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
-
Constructor Details
-
NetUtils
public NetUtils()
-
-
Method Details
-
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
-