Class FixedRecvBufferAllocator

    • Constructor Detail

      • FixedRecvBufferAllocator

        public FixedRecvBufferAllocator​(int bufferSize)
        Creates a new predictor that always returns the same prediction of the specified buffer size.
    • Method Detail

      • newHandle

        public RecvBufferAllocator.Handle newHandle()
        Description copied from interface: RecvBufferAllocator
        Creates a new handle. The handle provides the actual operations and keeps the internal information which is required for predicting an optimal buffer capacity.