Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectPool Members

IObjectPool overview

Public Instance Properties

NumActive Gets the number of instances currently borrowed from the pool.
NumIdle Gets the number of instances currently idle in the pool.
PoolableObjectFactory Set the factory used to create new instances.

Public Instance Methods

AddObject Create an object using the factory set by the PoolableObjectFactory property or other implementation dependent mechanism and place it into the pool.
BorrowObject Obtain an instance from the pool.
Clear Clear objects sitting idle in the pool, releasing any associated resources.
Close Close the pool and free any resources associated with it.
ReturnObject Return an instance to the pool.

See Also

IObjectPool Interface | Spring.Pool Namespace | IPoolableObjectFactory