NonExistentFilesCacheEnabled Property

Whether the nonexistent files cache should be used.

Syntax

int GetNonExistentFilesCacheEnabled();
int SetNonExistentFilesCacheEnabled(int bNonExistentFilesCacheEnabled);
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) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 C++ Edition - Version 20.0 [Build 7545]