This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Initialize a new instance of the ScavengerTask

Namespace: Smartsite.Tools.Caching
Assembly:  Smartsite.Tools (in Smartsite.Tools.dll)

Syntax

C#Copy imageCopy Code
public ScavengerTask(
	int numberToRemoveWhenScavenging,
	 scavengingPolicy,
	 cacheOperations
)
Visual Basic (Declaration)Copy imageCopy Code
Public Sub New ( _
	numberToRemoveWhenScavenging As Integer, _
	scavengingPolicy As , _
	cacheOperations As  _
)

Parameters

numberToRemoveWhenScavenging
Int32
The number of items that should be removed from the cache when scavenging.
scavengingPolicy
CacheCapacityScavengingPolicy
The CacheCapacityScavengingPolicy to use.
cacheOperations
ICacheOperations
The ICacheOperations to perform.

See Also

Advanced