Uses of Interface
io.netty5.buffer.api.Resource
-
Packages that use Resource 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.internal Internal implementation details that can be shared among Buffer implementations. -
-
Uses of Resource in io.netty5.buffer.api
Classes in io.netty5.buffer.api with type parameters of type Resource Modifier and Type Interface Description interface
Resource<T extends Resource<T>>
A resource that has a life-time, and can be closed.interface
Send<T extends Resource<T>>
A temporary holder of aResource
, used for transferring the ownership of the resource from one thread to another.Subinterfaces of Resource in io.netty5.buffer.api Modifier and Type Interface Description interface
Buffer
A life cycled buffer of memory, with separate reader and writer offsets.interface
CompositeBuffer
TheCompositeBuffer
is a concreteBuffer
implementation that make a number of other buffers appear as one.Classes in io.netty5.buffer.api that implement Resource Modifier and Type Class Description class
BufferHolder<T extends BufferHolder<T>>
TheBufferHolder
is an abstract class that simplifies the implementation of objects that themselves contain aBuffer
instance.class
BufferRef
A mutable reference to a buffer.class
BufferStub
A stub of aBuffer
implementation that implements all buffer methods by delegating them to a wrapped buffer instance.Methods in io.netty5.buffer.api with type parameters of type Resource Modifier and Type Method Description default <R extends Resource<R>>
Send<R>Send. map(Class<R> type, Function<T,R> mapper)
Apply a mapping function to the object being sent.static <T extends Resource<T>>
Send<T>Send. sending(Class<T> concreteObjectType, Supplier<? extends T> supplier)
-
Uses of Resource in io.netty5.buffer.api.adaptor
Classes in io.netty5.buffer.api.adaptor that implement Resource Modifier and Type Class Description class
ByteBufBuffer
-
Uses of Resource in io.netty5.buffer.api.internal
Classes in io.netty5.buffer.api.internal with type parameters of type Resource Modifier and Type Class Description class
ResourceSupport<I extends Resource<I>,T extends ResourceSupport<I,T>>
Internal support class for resources.class
SendFromOwned<I extends Resource<I>,T extends ResourceSupport<I,T>>
class
SendFromSupplier<T extends Resource<T>>
Classes in io.netty5.buffer.api.internal that implement Resource Modifier and Type Class Description class
AdaptableBuffer<T extends ResourceSupport<Buffer,T>>
class
ResourceSupport<I extends Resource<I>,T extends ResourceSupport<I,T>>
Internal support class for resources.Methods in io.netty5.buffer.api.internal with type parameters of type Resource Modifier and Type Method Description abstract <I extends Resource<I>,T extends ResourceSupport<I,T>>
Owned<T>LifecycleTracer. send(Owned<T> instance)
Add to the trace log that the object is being sent.
-