Package co.elastic.apm.agent.objectpool
Class ObjectPoolFactory
- java.lang.Object
-
- co.elastic.apm.agent.objectpool.ObjectPoolFactory
-
public class ObjectPoolFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ObjectPoolFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectPool<ErrorCapture>createErrorPool(int maxCapacity, ElasticApmTracer tracer)protected <T extends Recyclable>
ObjectPool<T>createRecyclableObjectPool(int maxCapacity, Allocator<T> allocator)ObjectPool<Span>createSpanPool(int maxCapacity, ElasticApmTracer tracer)ObjectPool<Transaction>createTransactionPool(int maxCapacity, ElasticApmTracer tracer)
-
-
-
Method Detail
-
createRecyclableObjectPool
protected <T extends Recyclable> ObjectPool<T> createRecyclableObjectPool(int maxCapacity, Allocator<T> allocator)
-
createTransactionPool
public ObjectPool<Transaction> createTransactionPool(int maxCapacity, ElasticApmTracer tracer)
-
createSpanPool
public ObjectPool<Span> createSpanPool(int maxCapacity, ElasticApmTracer tracer)
-
createErrorPool
public ObjectPool<ErrorCapture> createErrorPool(int maxCapacity, ElasticApmTracer tracer)
-
-