Package io.undertow.util
Class SimpleObjectPool<T>
java.lang.Object
io.undertow.util.SimpleObjectPool<T>
- All Implemented Interfaces:
ObjectPool
Simple pool that attempts to maintain a specified number of objects in the pool. If more objects are created new ones
are created on the fly, and then destroyed once the pool is full.
- Author:
- ckozak, Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleObjectPool
-
SimpleObjectPool
-
-
Method Details
-
allocate
- Specified by:
allocate
in interfaceObjectPool<T>
-