Class ConnectionLimit

    • Constructor Detail

      • ConnectionLimit

        public ConnectionLimit​(@Name("maxConnections")
                               int maxConnections,
                               @Name("server")
                               Server server)
        Deprecated.
      • ConnectionLimit

        public ConnectionLimit​(@Name("maxConnections")
                               int maxConnections,
                               @Name("connectors")
                               Connector... connectors)
        Deprecated.
    • Method Detail

      • getIdleTimeout

        @ManagedAttribute("The endpoint idle timeout in ms to apply when the connection limit is reached")
        public long getIdleTimeout()
        Deprecated.
        Returns:
        If >= 0, the endpoint idle timeout in ms to apply when the connection limit is reached
      • setIdleTimeout

        public void setIdleTimeout​(long idleTimeout)
        Deprecated.
        Parameters:
        idleTimeout - If >= 0 the endpoint idle timeout in ms to apply when the connection limit is reached
      • getMaxConnections

        @ManagedAttribute("The maximum number of connections allowed")
        public int getMaxConnections()
        Deprecated.
      • setMaxConnections

        public void setMaxConnections​(int max)
        Deprecated.
      • getConnections

        @ManagedAttribute("The current number of connections ")
        public int getConnections()
        Deprecated.
      • onAccepted

        public void onAccepted​(java.nio.channels.SelectableChannel channel)
        Deprecated.
        Description copied from interface: SelectorManager.AcceptListener
        Called after the accepted channel has been allocated an EndPoint and associated Connection, and after the onOpen notifications have been called on both endPoint and connection.
        Specified by:
        onAccepted in interface SelectorManager.AcceptListener
        Parameters:
        channel - the accepted channel