インターフェース CloseableDataBuffer
- すべてのスーパーインターフェース:
AutoCloseableSE
,DataBuffer
- すべての既知の実装クラス:
Netty5DataBuffer
try
-with-resources ステートメントで使用できるバッファーを可能にする DataBuffer
の拡張。- 導入:
- 6.0
- 作成者:
- Arjen Poutsma
ネストされたクラスのサマリー
インターフェース org.springframework.core.io.buffer.DataBuffer から継承されたネストクラス / インターフェース
DataBuffer.ByteBufferIterator
メソッドのサマリー
インターフェース org.springframework.core.io.buffer.DataBuffer から継承されたメソッド
asByteBuffer, asByteBuffer, asInputStream, asInputStream, asOutputStream, capacity, capacity, ensureCapacity, ensureWritable, factory, getByte, indexOf, lastIndexOf, read, read, read, readableByteBuffers, readableByteCount, readPosition, readPosition, retainedSlice, slice, split, toByteBuffer, toByteBuffer, toByteBuffer, toByteBuffer, toString, toString, writableByteBuffers, writableByteCount, write, write, write, write, write, write, writePosition, writePosition
メソッドの詳細
close
void close()このデータバッファーを閉じて、すべてのリソースを解放します。- 次で指定:
- インターフェース
AutoCloseableSE
のclose
- 例外:
IllegalStateExceptionSE
- このバッファがすでに閉じられている場合