Uses of Interface
io.netty5.buffer.api.Drop
-
Packages that use Drop Package Description io.netty5.buffer.api IncubatingBuffer
API, as a proposed alternative toByteBuf
.io.netty5.buffer.api.adaptor Helpers for integrating with the existingByteBuf
API.io.netty5.buffer.api.bytebuffer Safe ByteBuffer based implementation.io.netty5.buffer.api.internal Internal implementation details that can be shared among Buffer implementations.io.netty5.buffer.api.pool A poolingBufferAllocator
implementation based on jemalloc.io.netty5.buffer.api.unsafe ABuffer
implementation that is based onsun.misc.Unsafe
. -
-
Uses of Drop in io.netty5.buffer.api
Methods in io.netty5.buffer.api that return Drop Modifier and Type Method Description Drop<T>
Drop. fork()
Branch the responsibility of dropping a resource.Methods in io.netty5.buffer.api 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.api 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.api.adaptor
Methods in io.netty5.buffer.api.adaptor with parameters of type Drop Modifier and Type Method Description Buffer
ByteBufMemoryManager. recoverMemory(AllocatorControl control, Object recoverableMemory, Drop<Buffer> drop)
Method parameters in io.netty5.buffer.api.adaptor with type arguments of type Drop Modifier and Type Method Description Buffer
ByteBufMemoryManager. allocateShared(AllocatorControl control, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
Buffer
ByteBufMemoryManager. allocateShared(AllocatorControl control, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
-
Uses of Drop in io.netty5.buffer.api.bytebuffer
Methods in io.netty5.buffer.api.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.api.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.api.internal
Classes in io.netty5.buffer.api.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.api.internal declared as Drop Modifier and Type Field Description static Drop<Buffer>
Statics. NO_OP_DROP
Methods in io.netty5.buffer.api.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>Statics. convert(Drop<T> drop)
Drop<T>
ArcDrop. fork()
Drop<T>
CleanerDrop. fork()
Drop<T>
DropCaptor. getDrop()
static <T extends Buffer>
Drop<T>Statics. standardDropWrap(Drop<T> drop, MemoryManager manager)
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.Methods in io.netty5.buffer.api.internal that return types with arguments of type Drop Modifier and Type Method Description static Function<Drop<Buffer>,Drop<Buffer>>
Statics. standardDrop(MemoryManager manager)
static Function<Drop<Buffer>,Drop<Buffer>>
Statics. standardDrop(MemoryManager manager)
Methods in io.netty5.buffer.api.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>Statics. convert(Drop<T> drop)
static <T extends Buffer>
Drop<T>Statics. standardDropWrap(Drop<T> drop, MemoryManager manager)
protected void
ResourceSupport. unsafeSetDrop(Drop<T> replacement)
Replace the current underlyingDrop
object with the given one.static void
Statics. unsafeSetDrop(ResourceSupport<?,?> obj, Drop<?> replacement)
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.Constructors in io.netty5.buffer.api.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.api.pool
Methods in io.netty5.buffer.api.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.api.unsafe
Methods in io.netty5.buffer.api.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.api.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)
-