Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
Investigate the possibility of adding ExtendedSocketOptions for users of java 11+
Similar to how the C driver handles additional connection options.
import java.net.Socket;
|
import jdk.net.ExtendedSocketOptions;
|
|
|
Socket socket = new Socket();
|
socket.setOption(ExtendedSocketOptions.TCP_KEEPIDLE, 300);
|
socket.setOption(ExtendedSocketOptions.TCP_KEEPCOUNT, 9);
|
socket.setOption(ExtendedSocketOptions.TCP_KEEPINTERVAL, 10);
|