Table of Contents

Interface ITimedObjectPool<T>

Namespace
CodeProject.ObjectPool
Assembly
CodeProject.ObjectPool.dll

A pool where objects are automatically removed after a period of inactivity.

public interface ITimedObjectPool<T> : IObjectPool<T> where T : PooledObject

Type Parameters

T

The type of the object that which will be managed by the pool. The pooled object have to be a sub-class of PooledObject.

Inherited Members

Properties

Timeout

When pooled objects have not been used for a time greater than Timeout, then they will be destroyed by a cleaning task.

TimeSpan Timeout { get; set; }

Property Value

TimeSpan