Module io.netty5.buffer
Package io.netty5.buffer.api.internal
Class AdaptableBuffer<T extends ResourceSupport<Buffer,T>>
- java.lang.Object
-
- io.netty5.buffer.api.internal.ResourceSupport<Buffer,T>
-
- io.netty5.buffer.api.internal.AdaptableBuffer<T>
-
- All Implemented Interfaces:
Buffer
,BufferAccessor
,io.netty5.util.Resource<Buffer>
,AutoCloseable
public abstract class AdaptableBuffer<T extends ResourceSupport<Buffer,T>> extends ResourceSupport<Buffer,T> implements Buffer
-
-
Field Summary
Fields Modifier and Type Field Description protected AllocatorControl
control
-
Constructor Summary
Constructors Modifier Constructor Description protected
AdaptableBuffer(Drop<T> drop, AllocatorControl control)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
AdaptableBuffer<T>
touch(Object hint)
-
Methods inherited from class io.netty5.buffer.api.internal.ResourceSupport
acquire, attachTrace, close, countBorrows, createResourceClosedException, isAccessible, isOwned, makeInaccessible, notSendableException, prepareSend, send, unsafeGetDrop, unsafeSetDrop
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty5.buffer.api.Buffer
bytesBefore, bytesBefore, capacity, compact, copy, copy, copy, copy, copyInto, copyInto, copyInto, countComponents, countReadableComponents, countWritableComponents, ensureWritable, ensureWritable, fill, forEachReadable, forEachReadable, forEachWritable, forEachWritable, implicitCapacityLimit, implicitCapacityLimit, isDirect, makeReadOnly, openCursor, openCursor, openReverseCursor, openReverseCursor, readableBytes, readBytes, readBytes, readCharSequence, readerOffset, readerOffset, readOnly, readSplit, resetOffsets, skipReadableBytes, skipWritableBytes, split, split, toString, transferFrom, transferFrom, transferTo, writableBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeCharSequence, writerOffset, writerOffset, writeSplit
-
Methods inherited from interface io.netty5.buffer.api.BufferAccessor
getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getMedium, getShort, getUnsignedByte, getUnsignedInt, getUnsignedMedium, getUnsignedShort, readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readMedium, readShort, readUnsignedByte, readUnsignedInt, readUnsignedMedium, readUnsignedShort, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setMedium, setShort, setUnsignedByte, setUnsignedInt, setUnsignedMedium, setUnsignedShort, writeBoolean, writeByte, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeMedium, writeShort, writeUnsignedByte, writeUnsignedInt, writeUnsignedMedium, writeUnsignedShort
-
-
-
-
Field Detail
-
control
protected final AllocatorControl control
-
-
Constructor Detail
-
AdaptableBuffer
protected AdaptableBuffer(Drop<T> drop, AllocatorControl control)
-
-
Method Detail
-
touch
public AdaptableBuffer<T> touch(Object hint)
- Specified by:
touch
in interfaceio.netty5.util.Resource<T extends ResourceSupport<Buffer,T>>
- Overrides:
touch
in classResourceSupport<Buffer,T extends ResourceSupport<Buffer,T>>
-
-