Uses of Interface
io.netty5.buffer.api.Drop
-
Packages that use Drop Package Description io.netty5.buffer.api IncubatingBufferAPI, as a proposed alternative toByteBuf.io.netty5.buffer.api.adaptor Helpers for integrating with the existingByteBufAPI.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 poolingBufferAllocatorimplementation based on jemalloc.io.netty5.buffer.api.unsafe ABufferimplementation 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 BufferMemoryManager. recoverMemory(AllocatorControl allocatorControl, Object recoverableMemory, Drop<Buffer> drop)Recover the memory from a priorMemoryManager.unwrapRecoverableMemory(Buffer)call, and wrap it in aBufferinstance.TOwned. 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 BufferMemoryManager. allocateShared(AllocatorControl allocatorControl, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)Allocates a shared buffer.BufferMemoryManager. 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 BufferByteBufMemoryManager. 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 BufferByteBufMemoryManager. allocateShared(AllocatorControl control, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)BufferByteBufMemoryManager. 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 BufferByteBufferMemoryManager. 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 BufferByteBufferMemoryManager. allocateShared(AllocatorControl allocatorControl, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)BufferByteBufferMemoryManager. 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 classArcDrop<T>classCleanerDrop<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_DROPMethods 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 underlyingDropobject.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 voidResourceSupport. unsafeSetDrop(Drop<T> replacement)Replace the current underlyingDropobject with the given one.static voidStatics. 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 BufferUnsafeMemoryManager. 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 BufferUnsafeMemoryManager. allocateShared(AllocatorControl control, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)BufferUnsafeMemoryManager. allocateShared(AllocatorControl control, long size, Function<Drop<Buffer>,Drop<Buffer>> dropDecorator, AllocationType allocationType)
-