APGen Documentation Previous Topic: ASPCache.FlushTimeout Next Topic: ASPCache.Add() Parent Topic: ASPCache Object    ASPCache Object
ASPCache.FlushInterval
See Also:

Sets/retrieves the period (in milliseconds) between background cleanup operations.

Syntax

VBScript:

Cache.FlushInterval = interval

JScript:

Cache.FlushInterval = interval;
Object

Cache An ASPCache object.

Parameters

interval The time (in milliseconds) between background thread flushing operations.

Notes

By default, flushing is disabled.

When flushing is enabled, a background thread is periodically run that performs cleanup operations.  The FlushInterval property specifies how often this background thread runs.  Cleanup includes:

  1. Removing all items from the cache that have been unused long enough to be flushed.
  2. Removing all items from the cache that have expired

Other properties related to flushing are FlushEnabled and FlushTimeout.  For more information on flushing, see Flushing.