Class ServerParameters.Builder<T extends ServerParameters.Builder<T>>

    • Method Detail

      • withBacklog

        public T withBacklog​(int backlog)
        Sets the server socket backlog used for pending connection requests.

        This value controls the maximum number of connection requests that may be queued by the underlying server socket while waiting to be accepted. It is separate from KDC's internal connection queue.

        Parameters:
        backlog - the server socket connection backlog; must be greater than or equal to zero
        Returns:
        this builder
        Throws:
        IllegalArgumentException - if backlog is negative