Package com.yahoo.yolean.concurrent
Class ConcurrentResourcePool<T>
- java.lang.Object
-
- com.yahoo.yolean.concurrent.ConcurrentResourcePool<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
public class ConcurrentResourcePool<T> extends java.lang.Object implements java.lang.Iterable<T>
- Author:
- baldersheim
-
-
Constructor Summary
Constructors Constructor Description ConcurrentResourcePool(ResourceFactory<T> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
alloc()
void
free(T e)
java.util.Iterator<T>
iterator()
-