Uses of Interface
io.netty5.buffer.Drop
-
Packages that use Drop Package Description io.netty5.buffer Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.io.netty5.buffer.bytebuffer Safe ByteBuffer based implementation.io.netty5.buffer.internal Internal implementation details that can be shared among Buffer implementations.io.netty5.buffer.pool A poolingBufferAllocator
implementation based on jemalloc.io.netty5.buffer.unsafe ABuffer
implementation that is based onsun.misc.Unsafe
. -
-
Uses of Drop in io.netty5.buffer
Methods in io.netty5.buffer that return Drop Modifier and Type Method Description Drop<T>
Drop. fork()
Branch the responsibility of dropping a resource.Methods in io.netty5.buffer with parameters of type Drop Modifier and Type Method Description Buffer
MemoryManager. recoverMemory(AllocatorControl allocatorControl, Object recoverableMemory, Drop<Buffer> drop)
Recover the memory from a priorMemoryManager.unwrapRecoverableMemory(Buffer)
call, and wrap it in aBuffer
instance.T
Owned. transferOwnership(Drop<T> drop)
Transfer the ownership of the resource, to the calling thread.Method parameters in io.netty5.buffer with type arguments of type Drop Modifier and Type Method Description Buffer
MemoryManager. allocateShared(AllocatorControl allocatorControl, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
Allocates a shared buffer.Buffer
MemoryManager. allocateShared(AllocatorControl allocatorControl, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
Allocates a shared buffer. -
Uses of Drop in io.netty5.buffer.bytebuffer
Methods in io.netty5.buffer.bytebuffer with parameters of type Drop Modifier and Type Method Description Buffer
ByteBufferMemoryManager. recoverMemory(AllocatorControl allocatorControl, Object recoverableMemory, Drop<Buffer> drop)
Method parameters in io.netty5.buffer.bytebuffer with type arguments of type Drop Modifier and Type Method Description Buffer
ByteBufferMemoryManager. allocateShared(AllocatorControl allocatorControl, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
Buffer
ByteBufferMemoryManager. allocateShared(AllocatorControl allocatorControl, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
-
Uses of Drop in io.netty5.buffer.internal
Classes in io.netty5.buffer.internal that implement Drop Modifier and Type Class Description class
ArcDrop<T>
class
CleanerDrop<T extends Buffer>
A drop implementation that delegates to another drop instance, either when called directly, or when it becomes cleanable.Fields in io.netty5.buffer.internal declared as Drop Modifier and Type Field Description static Drop<Buffer>
InternalBufferUtils. NO_OP_DROP
Methods in io.netty5.buffer.internal that return Drop Modifier and Type Method Description static <X> Drop<X>
ArcDrop. acquire(Drop<X> drop)
Drop<T>
DropCaptor. apply(Drop<T> drop)
Drop<T>
DropCaptor. capture(Drop<T> drop)
static <T,R>
Drop<R>InternalBufferUtils. convert(Drop<T> drop)
Drop<T>
ArcDrop. fork()
Drop<T>
CleanerDrop. fork()
Drop<T>
DropCaptor. getDrop()
protected Drop<T>
ResourceSupport. unsafeGetDrop()
Get access to the underlyingDrop
object.Drop<T>
ArcDrop. unwrap()
static <X> Drop<X>
ArcDrop. wrap(Drop<X> drop)
static <T extends Buffer>
Drop<T>CleanerDrop. wrap(Drop<T> drop, MemoryManager manager)
Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable.static <T extends Buffer>
Drop<T>CleanerDrop. wrapWithoutLeakDetection(Drop<T> drop, MemoryManager manager)
Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable.Methods in io.netty5.buffer.internal that return types with arguments of type Drop Modifier and Type Method Description static Function<Drop<Buffer>,Drop<Buffer>>
InternalBufferUtils. standardDrop(MemoryManager manager)
static Function<Drop<Buffer>,Drop<Buffer>>
InternalBufferUtils. standardDrop(MemoryManager manager)
Methods in io.netty5.buffer.internal with parameters of type Drop Modifier and Type Method Description static <X> Drop<X>
ArcDrop. acquire(Drop<X> drop)
Drop<T>
DropCaptor. apply(Drop<T> drop)
Drop<T>
DropCaptor. capture(Drop<T> drop)
static <T,R>
Drop<R>InternalBufferUtils. convert(Drop<T> drop)
static void
InternalBufferUtils. unsafeSetDrop(ResourceSupport<?,?> obj, Drop<?> replacement)
protected void
ResourceSupport. unsafeSetDrop(Drop<T> replacement)
Replace the current underlyingDrop
object with the given one.static <X> Drop<X>
ArcDrop. wrap(Drop<X> drop)
static <T extends Buffer>
Drop<T>CleanerDrop. wrap(Drop<T> drop, MemoryManager manager)
Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable.static <T extends Buffer>
Drop<T>CleanerDrop. wrapWithoutLeakDetection(Drop<T> drop, MemoryManager manager)
Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable.Constructors in io.netty5.buffer.internal with parameters of type Drop Constructor Description AdaptableBuffer(Drop<T> drop, AllocatorControl control)
ArcDrop(Drop<T> delegate)
ResourceSupport(Drop<T> drop)
SendFromOwned(Owned<T> outgoing, Drop<T> drop, Class<?> concreteType)
-
Uses of Drop in io.netty5.buffer.pool
Methods in io.netty5.buffer.pool that return Drop Modifier and Type Method Description <BufferType extends Buffer>
Drop<BufferType>UntetheredMemory. drop()
Produces the drop instance associated with this piece of untethered memory. -
Uses of Drop in io.netty5.buffer.unsafe
Methods in io.netty5.buffer.unsafe with parameters of type Drop Modifier and Type Method Description Buffer
UnsafeMemoryManager. recoverMemory(AllocatorControl allocatorControl, Object recoverableMemory, Drop<Buffer> drop)
Method parameters in io.netty5.buffer.unsafe with type arguments of type Drop Modifier and Type Method Description Buffer
UnsafeMemoryManager. allocateShared(AllocatorControl control, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
Buffer
UnsafeMemoryManager. allocateShared(AllocatorControl control, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
-