Interface BufferProvider

All Known Subinterfaces:
InternalConnection, Stream
All Known Implementing Classes:
AsynchronousChannelStream, AsynchronousSocketChannelStream, InternalStreamConnection, PowerOfTwoBufferPool, SocketStream, UnixSocketChannelStream

@Deprecated(since="2021-05-27") public interface BufferProvider
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A provider of instances of ByteBuf.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    getBuffer(int size)
    Deprecated.
    Gets a buffer with the givens capacity.
  • Method Details

    • getBuffer

      ByteBuf getBuffer(int size)
      Deprecated.
      Gets a buffer with the givens capacity.
      Parameters:
      size - the size required for the buffer
      Returns:
      a ByteBuf with the given size, which is now owned by the caller and must be released.