Package deltix.qsrv.hf.blocks
Class ObjectPool<T>
- java.lang.Object
-
- deltix.qsrv.hf.blocks.ObjectPool<T>
-
public abstract class ObjectPool<T> extends java.lang.Object
Object pool. Thread-safe with exception of unit-test-only methods marked otherwise.
-
-
Constructor Summary
Constructors Constructor Description ObjectPool(int initialCapacity)
ObjectPool(int initialCapacity, int limitCapacity)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
borrow()
protected abstract T
newItem()
boolean
release(T msg)
void
trim()
-