Top Fields Constructors Methods
io.netty5.buffer.pool

pack-priv Class UnpooledUntetheredMemory

extends Object
implements UntetheredMemory
Class Inheritance
All Implemented Interfaces
io.netty5.buffer.pool.UntetheredMemory
Annotations
@SuppressWarnings:unchecked
Imports
io.netty5.buffer.AllocationType, .Buffer, .Drop, .MemoryManager, io.netty5.buffer.internal.DropCaptor

Field Summary

Modifier and TypeField and Description
private final Buffer
private final DropCaptor<Buffer>
private final MemoryManager

Constructor Summary

AccessConstructor and Description
pack-priv
UnpooledUntetheredMemory(PooledBufferAllocator allocator, MemoryManager manager, AllocationType allocationType, int size)

Method Summary

Modifier and TypeMethod and Description
public <BufferType extends Buffer> Drop<BufferType>
drop()

Implements io.netty5.buffer.pool.UntetheredMemory.drop.

Produces the drop instance associated with this piece of untethered memory.
public <Memory> Memory
memory()

Implements io.netty5.buffer.pool.UntetheredMemory.memory.

Produces the recoverable memory object associated with this piece of untethered memory.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bufferback to summary
private final Buffer buffer
dropCaptorback to summary
private final DropCaptor<Buffer> dropCaptor
managerback to summary
private final MemoryManager manager

Constructor Detail

UnpooledUntetheredMemoryback to summary
pack-priv UnpooledUntetheredMemory(PooledBufferAllocator allocator, MemoryManager manager, AllocationType allocationType, int size)

Method Detail

dropback to summary
public <BufferType extends Buffer> Drop<BufferType> drop()

Implements io.netty5.buffer.pool.UntetheredMemory.drop.

Doc from io.netty5.buffer.pool.UntetheredMemory.drop.

Produces the drop instance associated with this piece of untethered memory.

Annotations
@Override
memoryback to summary
public <Memory> Memory memory()

Implements io.netty5.buffer.pool.UntetheredMemory.memory.

Doc from io.netty5.buffer.pool.UntetheredMemory.memory.

Produces the recoverable memory object associated with this piece of untethered memory.

Annotations
@Override