| 接口 | 说明 |
|---|---|
| DataBuffer |
Basic abstraction over byte buffers.
|
| DataBufferFactory |
A factory for
DataBuffers, allowing for allocation and
wrapping of data buffers. |
| PooledDataBuffer |
Extension of
DataBuffer that allows for buffer that share
a memory pool. |
| 类 | 说明 |
|---|---|
| DataBufferWrapper |
Provides a convenient implementation of the
DataBuffer interface
that can be overridden to adapt the delegate. |
| DefaultDataBuffer |
Default implementation of the
DataBuffer interface that uses a
ByteBuffer internally. with separate read and write positions. |
| DefaultDataBufferFactory |
Default implementation of the
DataBufferFactory interface. |
| LimitedDataBufferList |
Custom
List to collect data buffers with and enforce a
limit on the total number of bytes buffered. |
| 异常错误 | 说明 |
|---|---|
| DataBufferLimitException |
Exception that indicates the cumulative number of bytes consumed from a
stream of
DataBuffer's exceeded some pre-configured limit. |
Copyright © 2020. All rights reserved.