Interface IBufferProvider

All Known Subinterfaces:
IBufferPool, IBufferPool.Introspection, IBufferProvider.Introspection, IBufferProvider.Notification, InternalChannel, InternalChannelMultiplexer, InternalConnector
All Known Implementing Classes:
Channel, ChannelMultiplexer, Connector

public interface IBufferProvider
Provides clients with the ability to obtain and retain IBuffers.
Author:
Eike Stepper
  • Method Details

    • getBufferCapacity

      short getBufferCapacity()
      Returns the capacity of the buffers provided by provideBuffer() .
    • provideBuffer

      IBuffer provideBuffer()
      Provides a buffer from this BufferProvider.
    • retainBuffer

      void retainBuffer(IBuffer buffer)
      Retains a buffer to this BufferProvider.