Package | Description |
---|---|
reactor.alloc |
Pooling provides lower GC requirements by re-using components.
|
reactor.io.buffer |
Modifier and Type | Class and Description |
---|---|
class |
AbstractReference<T extends Recyclable>
An abstract
Reference implementation that does reference counting. |
Modifier and Type | Method and Description |
---|---|
Reference<T> |
Allocator.allocate()
Allocate an object from the internal pool.
|
Reference<T> |
ReferenceCountingAllocator.allocate() |
<T> Reference<Event<T>> |
EventAllocator.get(Class<T> klass)
Allocate an object from the internal pool, based on the type of Event.
|
Modifier and Type | Method and Description |
---|---|
List<Reference<T>> |
Allocator.allocateBatch(int size)
Allocate a batch of objects all at once.
|
List<Reference<T>> |
ReferenceCountingAllocator.allocateBatch(int size) |
Modifier and Type | Method and Description |
---|---|
void |
Allocator.release(List<Reference<T>> batch)
Efficiently release a batch of References all at once.
|
void |
ReferenceCountingAllocator.release(List<Reference<T>> batch) |
Modifier and Type | Method and Description |
---|---|
Reference<Buffer> |
BufferAllocator.allocate() |
Modifier and Type | Method and Description |
---|---|
List<Reference<Buffer>> |
BufferAllocator.allocateBatch(int size) |
Modifier and Type | Method and Description |
---|---|
void |
BufferAllocator.release(List<Reference<Buffer>> batch) |
Copyright © 2016. All rights reserved.