Support Keep alive probes in Java 11+

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.0
    • Affects Version/s: None
    • Component/s: Connection Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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);
      

              Assignee:
              John Stewart (Inactive)
              Reporter:
              Ross Lawley
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: