Uses of Interface
co.elastic.apm.agent.objectpool.Allocator
-
Packages that use Allocator Package Description co.elastic.apm.agent.objectpool co.elastic.apm.agent.objectpool.impl -
-
Uses of Allocator in co.elastic.apm.agent.objectpool
Methods in co.elastic.apm.agent.objectpool with parameters of type Allocator Modifier and Type Method Description protected <T extends Recyclable>
ObjectPool<T>ObjectPoolFactory. createRecyclableObjectPool(int maxCapacity, Allocator<T> allocator) -
Uses of Allocator in co.elastic.apm.agent.objectpool.impl
Fields in co.elastic.apm.agent.objectpool.impl declared as Allocator Modifier and Type Field Description protected Allocator<T>AbstractObjectPool. allocatorMethods in co.elastic.apm.agent.objectpool.impl with parameters of type Allocator Modifier and Type Method Description static <T> QueueBasedObjectPool<T>QueueBasedObjectPool. of(java.util.Queue<T> queue, boolean preAllocate, Allocator<T> allocator, Resetter<T> resetter)Creates a queue based pooled for types that do not implementRecyclable, useQueueBasedObjectPool.ofRecyclable(Queue, boolean, Allocator)for types that implementRecyclable.static <T extends Recyclable>
ListBasedObjectPool<T>ListBasedObjectPool. ofRecyclable(int limit, Allocator<T> allocator)static <T extends Recyclable>
ListBasedObjectPool<T>ListBasedObjectPool. ofRecyclable(java.util.List<T> list, int limit, Allocator<T> allocator)static <T extends Recyclable>
QueueBasedObjectPool<T>QueueBasedObjectPool. ofRecyclable(java.util.Queue<T> queue, boolean preAllocate, Allocator<T> allocator)Creates a queue based pooled for types that implementRecyclable, useQueueBasedObjectPool.of(Queue, boolean, Allocator, Resetter)for other pooled object types.Constructors in co.elastic.apm.agent.objectpool.impl with parameters of type Allocator Constructor Description AbstractObjectPool(Allocator<T> allocator, Resetter<T> resetter)ListBasedObjectPool(java.util.List<T> pool, int limit, Allocator<T> allocator, Resetter<T> resetter)
-