Top Deprecated
Netty/Buffer 4.1.107.Final

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
io.netty.buffer.AbstractByteBuf.newSwappedByteBuf()

Deprecated as a consequence of SwappedByteBuf being deprecated. See corresponding docs for further information.

io.netty.buffer.AbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf

Deprecated as a consequence of UnpooledDuplicatedByteBuf being deprecated. See corresponding docs for further information.

io.netty.buffer.AbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf

Deprecated as a consequence of UnpooledSlicedByteBuf being deprecated. See corresponding docs for further information.

io.netty.buffer.AbstractUnpooledSlicedByteBuf

Deprecated as a consequence of AbstractDerivedByteBuf being deprecated.

io.netty.buffer.AbstractUnsafeSwappedByteBuf

Deprecated as a consequence of SwappedByteBuf being deprecated.

io.netty.buffer.ByteBuf.order()

use the Little Endian accessors, e.g. getShortLE, getIntLE instead of creating a buffer with swapped endianness.

io.netty.buffer.ByteBuf.order(ByteOrder endianness)

use the Little Endian accessors, e.g. getShortLE, getIntLE instead of creating a buffer with swapped endianness.

io.netty.buffer.PoolArenaMetric.numActiveTinyAllocations()

Tiny allocations have been merged into small allocations.

io.netty.buffer.PoolArenaMetric.numTinyAllocations()

Tiny allocations have been merged into small allocations.

io.netty.buffer.PoolArenaMetric.numTinyDeallocations()

Tiny deallocations have been merged into small deallocations.

io.netty.buffer.PoolArenaMetric.numTinySubpages()

Tiny sub-pages have been merged into small sub-pages.

io.netty.buffer.PoolArenaMetric.tinySubpages()

Tiny sub-pages have been merged into small sub-pages.

io.netty.buffer.PooledByteBufAllocator.PooledByteBufAllocator(boolean preferDirect, int nHeapArena, int nDirectArena, int pageSize, int maxOrder, int tinyCacheSize, int smallCacheSize, int normalCacheSize)

use PooledByteBufAllocator#PooledByteBufAllocator(boolean, int, int, int, int, int, int, boolean)

io.netty.buffer.PooledByteBufAllocator.PooledByteBufAllocator(boolean preferDirect, int nHeapArena, int nDirectArena, int pageSize, int maxOrder, int tinyCacheSize, int smallCacheSize, int normalCacheSize, boolean useCacheForAllThreads)

use PooledByteBufAllocator#PooledByteBufAllocator(boolean, int, int, int, int, int, int, boolean)

io.netty.buffer.PooledByteBufAllocator.PooledByteBufAllocator(boolean preferDirect, int nHeapArena, int nDirectArena, int pageSize, int maxOrder, int tinyCacheSize, int smallCacheSize, int normalCacheSize, boolean useCacheForAllThreads, int directMemoryCacheAlignment)

use PooledByteBufAllocator#PooledByteBufAllocator(boolean, int, int, int, int, int, int, boolean, int)

io.netty.buffer.PooledByteBufAllocator.defaultTinyCacheSize()

Tiny caches have been merged into small caches.

io.netty.buffer.PooledByteBufAllocator.freeThreadLocalCache()

will be removed Free all cached buffers for the calling Thread.

io.netty.buffer.PooledByteBufAllocator.hasThreadLocalCache()

will be removed Returns true if the calling Thread has a ThreadLocal cache for the allocated buffers.

io.netty.buffer.PooledByteBufAllocatorMetric.tinyCacheSize()

Tiny caches have been merged into small caches.

io.netty.buffer.PooledUnsafeDirectByteBuf.newSwappedByteBuf()

Deprecated as a consequence of SwappedByteBuf being deprecated. See corresponding docs for further information.

io.netty.buffer.SwappedByteBuf

use the Little Endian accessors, e.g. getShortLE, getIntLE instead.

io.netty.buffer.UnpooledDuplicatedByteBuf

Deprecated as a consequence of DuplicatedByteBuf being deprecated.

io.netty.buffer.UnpooledSlicedByteBuf

Deprecated as a consequence of AbstractUnpooledSlicedByteBuf being deprecated.

io.netty.buffer.UnpooledUnsafeDirectByteBuf.newSwappedByteBuf()

Deprecated as a consequence of SwappedByteBuf being deprecated. See corresponding docs for further information.

io.netty.buffer.UnreleasableByteBuf.swappedBuf

Deprecated as a consequence of SwappedByteBuf being deprecated. See corresponding docs for further information.

io.netty.buffer.UnsafeDirectSwappedByteBuf

Deprecated as a consequence of AbstractUnsafeSwappedByteBuf being deprecated.

io.netty.buffer.UnsafeHeapSwappedByteBuf

Deprecated as a consequence of AbstractUnsafeSwappedByteBuf being deprecated.

io.netty.buffer.WrappedCompositeByteBuf.newSwappedByteBuf()

Deprecated as a consequence of SwappedByteBuf being deprecated. See corresponding docs for further information.