Castle.MicroKernel.Lifestyle.PoolableLifestyleManager
Manages a pool of objects.
namespace Castle.MicroKernel.Lifestyle
{
public class PoolableLifestyleManager : AbstractLifestyleManager
{
protected IPool Pool { get; }
public PoolableLifestyleManager(int initialSize, int maxSize);
protected IPool CreatePool(int initialSize, int maxSize);
protected virtual Burden PoolCreationCallback(CreationContext context, IReleasePolicy releasePolicy);
}
}