Interface ObjectPool<T>
- All Known Implementing Classes:
DataBufferPool
public interface ObjectPool<T>
Object pool interface that allows reference tracking.
-
Method Summary
Modifier and Type Method Description void
give(PooledObjectReference<T> itemReference)
Return an item to the pool (permanently).PooledObjectReference<T>
take()
Take an item from the pool.