Interface AsyncQueue

    • Field Detail

      • EXPECTING_MORE_OPTION

        static final String EXPECTING_MORE_OPTION
    • Method Detail

      • isReady

        boolean isReady​(Connection connection)
        Checks whether there is ready data in AsyncQueue, associated with the Connection.
        Parameters:
        connection - Connection
        Returns:
        true, if there is ready data, or false otherwise.
      • onClose

        void onClose​(Connection connection)
        Callback method, which is called, when Connection has been closed, to let processor release a connection associated resources.
        Parameters:
        connection - Connection
      • close

        void close()
        Close AsyncQueueProcessor and release associated resources