Top Description Methods
org.springframework.core.io.buffer

public Interface TouchableDataBuffer

extends DataBuffer
Known Direct Subinterfaces
org.springframework.core.io.buffer.PooledDataBuffer
Known Direct Implementers
org.springframework.core.io.buffer.Netty5DataBuffer

Extension of DataBuffer that allows for buffers that can be given hints for debugging purposes.
Author
Arjen Poutsma
Since
6.0

Method Summary

Modifier and TypeMethod and Description
public TouchableDataBuffer

Returns:

this buffer
touch
(Object hint)

Associate the given hint with the data buffer for debugging purposes.

Inherited from org.springframework.core.io.buffer.DataBuffer:
asByteBufferasByteBufferasInputStreamasInputStreamasOutputStreamcapacitycapacityensureCapacityensureWritablefactorygetByteindexOflastIndexOfreadreadreadreadableByteBuffersreadableByteCountreadPositionreadPositionretainedSliceslicesplittoByteBuffertoByteBuffertoByteBuffertoByteBuffertoStringtoStringwritableByteBufferswritableByteCountwritewritewritewritewritewritewritePositionwritePosition

Method Detail

touchback to summary
public TouchableDataBuffer touch(Object hint)

Associate the given hint with the data buffer for debugging purposes.

Returns:TouchableDataBuffer

this buffer