Module com.github.robtimus.pool
Package com.github.robtimus.pool
Interface PoolableObjectFactory<T extends PoolableObject<X>,X extends Exception>
-
- Type Parameters:
T- The type of object to create.X- The type of exception that operations on created objects can throw. This is also the type of exception that can occur when instances are created.
public interface PoolableObjectFactory<T extends PoolableObject<X>,X extends Exception>A factory forPoolableObjects.- Author:
- Rob Spoor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TnewObject()Creates a newPoolableObject.
-