Table of Contents

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

EvictionSettings

Delay

The delay specified when an eviction job is scheduled. Default value is Zero.

public TimeSpan Delay { get; set; }

Property Value

TimeSpan

Enabled

Whether eviction is enabled or not. By default, eviction is not enabled.

public bool Enabled { get; set; }

Property Value

bool

Period

How frequent should be the eviction job. Default value is one minute.

public TimeSpan Period { get; set; }

Property Value

TimeSpan