Interface NettyConnectionReader

    • Method Detail

      • readBuffer

        Optional<Buffer> readBuffer​(int segmentId)
        Read a buffer from netty connection.
        Parameters:
        segmentId - segment id indicates the id of segment.
        Returns:
        Optional.empty() will be returned if there is no buffer sent from netty connection otherwise a buffer will be returned.