Discuss this help topic in CBFS Forum

CallbackFileSystem.NonexistentFilesCacheEnabled property

Filter:

Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CallbackFileSystem     See also    

Overview

Enables or disables cache of nonexistent files.

Declaration

[Pascal]
    property NonexistentFilesCacheEnabled : boolean;

[C++ (Lib)]
    bool GetNonexistentFilesCacheEnabled();
    void SetNonexistentFilesCacheEnabled(BOOL Value);

[C++ (VCL)]
    bool NonexistentFilesCacheEnabled;

[C++ (.NET)]
    bool NonexistentFilesCacheEnabled;

[C#]
    bool NonexistentFilesCacheEnabled;

[VB.NET]
    Public Property NonexistentFilesCacheEnabled As Boolean

[Java]
    boolean getNonexistentFilesCacheEnabled();
    void setNonexistentFilesCacheEnabled(boolean value)

Description

Use this property to enable or disable the cache of nonexistent files (it's disabled by default). The cache is used to reduce the number of calls to OnGetFileInfo callback. If the previous call to some callback reported the error that the file does not exist and there's another request for the same file, with cache enabled the driver won't call the callback again but will report file not found error immediately.

Call from...

The property may be changed at any time but only from outside of callback / event handlers.

See also

FileCacheEnabled     MetadataCacheEnabled    

Discuss this help topic in CBFS Forum