Interface SocketHandlerFunction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface SocketHandlerFunction
    • Method Detail

      • apply

        java.net.Socket apply​(Configuration conf,
                              HostAddress hostAddress)
                       throws java.io.IOException,
                              java.sql.SQLException
        Throws:
        java.io.IOException
        java.sql.SQLException