static final class ByteBufUtil.ThreadLocalUnsafeDirectByteBuf extends UnpooledUnsafeDirectByteBuf
Modifier and Type | Field and Description |
---|---|
private Recycler.Handle |
handle |
private static Recycler<ByteBufUtil.ThreadLocalUnsafeDirectByteBuf> |
RECYCLER |
buffer, memoryAddress
leakDetector, readerIndex, writerIndex
Modifier | Constructor and Description |
---|---|
private |
ThreadLocalUnsafeDirectByteBuf(Recycler.Handle handle) |
Modifier and Type | Method and Description |
---|---|
protected void |
deallocate()
Called once
AbstractReferenceCountedByteBuf.refCnt() is equals 0. |
(package private) static ByteBufUtil.ThreadLocalUnsafeDirectByteBuf |
newInstance() |
_getByte, _getInt, _getLong, _getShort, _getUnsignedMedium, _setByte, _setInt, _setLong, _setMedium, _setShort, addr, alloc, allocateDirect, array, arrayOffset, capacity, capacity, copy, freeDirect, getBytes, getBytes, getBytes, getBytes, getBytes, hasArray, hasMemoryAddress, internalNioBuffer, isDirect, memoryAddress, newSwappedByteBuf, nioBuffer, nioBufferCount, nioBuffers, order, readBytes, readBytes, setByteBuffer, setBytes, setBytes, setBytes, setBytes, setBytes, setZero, unwrap, writeZero
refCnt, release, release, retain, retain, setRefCnt
adjustMarkers, bytesBefore, bytesBefore, bytesBefore, checkDstIndex, checkIndex, checkIndex, checkIndex0, checkReadableBytes, checkSrcIndex, clear, compareTo, copy, discardMarks, discardReadBytes, discardSomeReadBytes, duplicate, ensureAccessible, ensureWritable, ensureWritable, equals, forEachByte, forEachByte, forEachByteDesc, forEachByteDesc, getBoolean, getByte, getBytes, getBytes, getBytes, getChar, getDouble, getFloat, getInt, getLong, getMedium, getShort, getUnsignedByte, getUnsignedInt, getUnsignedMedium, getUnsignedShort, hashCode, indexOf, isReadable, isReadable, isWritable, isWritable, markReaderIndex, markWriterIndex, maxCapacity, maxCapacity, maxWritableBytes, nioBuffer, nioBuffers, order, readableBytes, readBoolean, readByte, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readBytes, readChar, readDouble, readerIndex, readerIndex, readFloat, readInt, readLong, readMedium, readShort, readSlice, readUnsignedByte, readUnsignedInt, readUnsignedMedium, readUnsignedShort, resetReaderIndex, resetWriterIndex, setBoolean, setByte, setBytes, setBytes, setBytes, setChar, setDouble, setFloat, setIndex, setIndex0, setInt, setLong, setMedium, setShort, skipBytes, slice, slice, toString, toString, toString, writableBytes, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeBytes, writeChar, writeDouble, writeFloat, writeInt, writeLong, writeMedium, writerIndex, writerIndex, writeShort
private static final Recycler<ByteBufUtil.ThreadLocalUnsafeDirectByteBuf> RECYCLER
private final Recycler.Handle handle
private ThreadLocalUnsafeDirectByteBuf(Recycler.Handle handle)
static ByteBufUtil.ThreadLocalUnsafeDirectByteBuf newInstance()
protected void deallocate()
AbstractReferenceCountedByteBuf
AbstractReferenceCountedByteBuf.refCnt()
is equals 0.deallocate
in class UnpooledUnsafeDirectByteBuf