Skip navigation links
A B D E F G I L M R S T 

A

AbstractReference<T extends reactor.core.support.Recyclable> - Class in reactor.alloc
An abstract Reference implementation that does reference counting.
AbstractReference(T) - Constructor for class reactor.alloc.AbstractReference
 
allocate() - Method in interface reactor.alloc.Allocator
Allocate an object from the internal pool.
allocate() - Method in class reactor.alloc.ReferenceCountingAllocator
 
allocate() - Method in class reactor.io.buffer.BufferAllocator
 
allocateBatch(int) - Method in interface reactor.alloc.Allocator
Allocate a batch of objects all at once.
allocateBatch(int) - Method in class reactor.alloc.ReferenceCountingAllocator
 
allocateBatch(int) - Method in class reactor.io.buffer.BufferAllocator
 
Allocator<T extends reactor.core.support.Recyclable> - Interface in reactor.alloc
An Allocator is responsible for returning to the caller a Reference to a reusable object or to provide a newly-created object, depending on the underlying allocation strategy.

B

BufferAllocator - Class in reactor.io.buffer
An Allocator implementation that allocates Buffers.
BufferAllocator() - Constructor for class reactor.io.buffer.BufferAllocator
Create a BufferAllocator of size=256, direct=false, and bufferSize=Buffer.SMALL_BUFFER_SIZE.
BufferAllocator(int, boolean, int) - Constructor for class reactor.io.buffer.BufferAllocator
Create a BufferAllocator.

D

defaultEventAllocator() - Static method in class reactor.alloc.EventAllocator
Default Event Allocator, uses ReferenceCountingAllocator for allocating and recycling events.
doubleValue() - Method in class reactor.alloc.RecyclableNumber
 

E

EventAllocator - Class in reactor.alloc
Generic Event Allocator.
EventAllocator() - Constructor for class reactor.alloc.EventAllocator
 
EventAllocator(Class[]) - Constructor for class reactor.alloc.EventAllocator
Create a new EventAllocator, containing pre-created Allocators for given es.
EventFactorySupplier<T> - Class in reactor.alloc
A Supplier implementation that instantiates Events based on Event data type.
EventFactorySupplier(Class<T>) - Constructor for class reactor.alloc.EventFactorySupplier
 

F

floatValue() - Method in class reactor.alloc.RecyclableNumber
 

G

get() - Method in class reactor.alloc.AbstractReference
 
get(Class<T>) - Method in class reactor.alloc.EventAllocator
Allocate an object from the internal pool, based on the type of Event.
get() - Method in class reactor.alloc.EventFactorySupplier
 
getAge() - Method in class reactor.alloc.AbstractReference
 
getAge() - Method in interface reactor.alloc.Reference
Get the age of this Reference since it's creation.
getReferenceCount() - Method in class reactor.alloc.AbstractReference
 
getReferenceCount() - Method in interface reactor.alloc.Reference
Get the current number of references retained to this object.

I

intValue() - Method in class reactor.alloc.RecyclableNumber
 

L

longValue() - Method in class reactor.alloc.RecyclableNumber
 

M

makeAllocator(Class<T>) - Method in class reactor.alloc.EventAllocator
Make a new allocator for Events with generic type of

R

reactor.alloc - package reactor.alloc
Pooling provides lower GC requirements by re-using components.
reactor.io.buffer - package reactor.io.buffer
 
RecyclableNumber - Class in reactor.alloc
 
RecyclableNumber() - Constructor for class reactor.alloc.RecyclableNumber
 
RecyclableString - Class in reactor.alloc
 
RecyclableString() - Constructor for class reactor.alloc.RecyclableString
 
recycle() - Method in class reactor.alloc.RecyclableNumber
 
recycle() - Method in class reactor.alloc.RecyclableString
 
Reference<T extends reactor.core.support.Recyclable> - Interface in reactor.alloc
A Reference provides access to and metadata about a poolable object.
ReferenceCountingAllocator<T extends reactor.core.support.Recyclable> - Class in reactor.alloc
An implementation of Allocator that uses reference counting to determine when an object should be recycled and placed back into the pool to be reused.
ReferenceCountingAllocator(Supplier<T>) - Constructor for class reactor.alloc.ReferenceCountingAllocator
 
ReferenceCountingAllocator(int, Supplier<T>) - Constructor for class reactor.alloc.ReferenceCountingAllocator
 
release() - Method in class reactor.alloc.AbstractReference
 
release(int) - Method in class reactor.alloc.AbstractReference
 
release(List<Reference<T>>) - Method in interface reactor.alloc.Allocator
Efficiently release a batch of References all at once.
release() - Method in interface reactor.alloc.Reference
Decrease the reference count by 1.
release(int) - Method in interface reactor.alloc.Reference
Decrease the reference count by incr amount.
release(List<Reference<T>>) - Method in class reactor.alloc.ReferenceCountingAllocator
 
release(List<Reference<Buffer>>) - Method in class reactor.io.buffer.BufferAllocator
 
retain() - Method in class reactor.alloc.AbstractReference
 
retain(int) - Method in class reactor.alloc.AbstractReference
 
retain() - Method in interface reactor.alloc.Reference
Increase reference count by 1.
retain(int) - Method in interface reactor.alloc.Reference
Increase reference count by incr amount.

S

setValue(int) - Method in class reactor.alloc.RecyclableNumber
 
setValue(long) - Method in class reactor.alloc.RecyclableNumber
 
setValue(float) - Method in class reactor.alloc.RecyclableNumber
 
setValue(double) - Method in class reactor.alloc.RecyclableNumber
 
setValue(String) - Method in class reactor.alloc.RecyclableString
 

T

toString() - Method in class reactor.alloc.AbstractReference
 
toString() - Method in class reactor.alloc.RecyclableString
 
A B D E F G I L M R S T 
Skip navigation links