Uses of Class
co.elastic.apm.agent.objectpool.impl.QueueBasedObjectPool
-
Packages that use QueueBasedObjectPool Package Description co.elastic.apm.agent.objectpool.impl -
-
Uses of QueueBasedObjectPool in co.elastic.apm.agent.objectpool.impl
Methods in co.elastic.apm.agent.objectpool.impl that return QueueBasedObjectPool 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, useofRecyclable(Queue, boolean, Allocator)for types that implementRecyclable.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, useof(Queue, boolean, Allocator, Resetter)for other pooled object types.
-