Discuss this help topic in CBFS Forum

CallbackFileSystem.NonexistentFilesCacheEnabled property


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

CallbackFileSystem     See also    


Enables or disables cache of nonexistent files.


    property NonexistentFilesCacheEnabled : boolean;

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

[C++ (VCL)]
    bool NonexistentFilesCacheEnabled;

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

    bool NonexistentFilesCacheEnabled;

    Public Property NonexistentFilesCacheEnabled As Boolean

    boolean getNonexistentFilesCacheEnabled();
    void setNonexistentFilesCacheEnabled(boolean value)


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