Package com.twitter.chill
Class ResourcePool<T>
java.lang.Object
com.twitter.chill.ResourcePool<T>
- Direct Known Subclasses:
KryoPool
Simple ResourcePool to save on Kryo instances, which
are expensive to allocate
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResourcePool
public ResourcePool(int size)
-
-
Method Details
-
newInstance
-
borrow
-
release
-