Cleanup Method

Starts a background cleanup operation to remove unused files from the cache.

Syntax

public void Cleanup(int maxAge);
Public Sub Cleanup(ByVal MaxAge As Integer)

Remarks

This method starts a cleanup operation to remove unused files from the cache. Files used earlier than MaxAge hours ago will be removed (passing 0 for will cause all files to be removed).

The cleanup operation is performed asynchronously in a background thread, so this method returns immediately. To cancel a cleanup operation, use the CancelCleanup method.

 
 
Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Cache 2020 .NET Edition - Version 20.0 [Build 7850]