Package co.elastic.apm.agent.objectpool
Interface Allocator<T>
-
- Type Parameters:
T- pooled object type
public interface Allocator<T>Defines pooled object factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TcreateInstance()
-
-
-
Method Detail
-
createInstance
T createInstance()
- Returns:
- new instance of pooled object type
-
-