Package com.complexible.common.pool
Interface Pool<T,E extends java.lang.Exception>
-
- All Known Subinterfaces:
ConnectionPool
- All Known Implementing Classes:
ApachePoolImpl
public interface Pool<T,E extends java.lang.Exception>
Simple interface for a Pool of objects
- Since:
- 0.5.1
- Version:
- 0.7
- Author:
- Michael Grove
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
obtain()
Get an object from the poolvoid
release(T theObj)
Return the object to the poolvoid
shutdown()
Shutdown the pool
-