org.mortbay.io
Interface Buffers
- All Known Subinterfaces:
- Connector
- All Known Implementing Classes:
- AbstractConnector, BlockingChannelConnector, SelectBlockingChannelConnector, SelectChannelConnector, SimpleBuffers, SocketConnector, SslSocketConnector
public interface Buffers
BufferSource.
Represents a pool or other source of buffers and abstracts the creation
of specific types of buffers (eg NIO). The concept of big and little buffers
is supported, but these terms have no absolute meaning and must be determined by context.
- Author:
- gregw
getBuffer
Buffer getBuffer(int size)
returnBuffer
void returnBuffer(Buffer buffer)