Class EvictionSettings
- Namespace
- CodeProject.ObjectPool
- Assembly
- CodeProject.ObjectPool.dll
Eviction settings.
public class EvictionSettings
- Inheritance
-
EvictionSettings
- Inherited Members
Properties
Default
Default eviction settings.
public static EvictionSettings Default { get; }
Property Value
Delay
The delay specified when an eviction job is scheduled. Default value is Zero.
public TimeSpan Delay { get; set; }
Property Value
Enabled
Whether eviction is enabled or not. By default, eviction is not enabled.
public bool Enabled { get; set; }
Property Value
Period
How frequent should be the eviction job. Default value is one minute.
public TimeSpan Period { get; set; }