NonExistentFilesCacheEnabled Property

Whether the nonexistent files cache should be used.

Syntax

bool GetNonExistentFilesCacheEnabled();
int SetNonExistentFilesCacheEnabled(bool bNonExistentFilesCacheEnabled);

Default Value

false

Remarks

This property controls whether the nonexistent files cache is enabled for a virtual drive. The size of the nonexistent files cache can be controlled using the NonExistentFilesCacheSize property.

When enabled, the class will cache any GetFileInfo responses that indicate that the requested file does not exist. If another request is later made for the same file, the class will use this information to automatically report a "file not found" error rather than firing the GetFileInfo event again.

Please refer to the Caching topic for more information.

Note: This property cannot be changed within events.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 Qt Edition - Version 20.0 [Build 8348]