Discuss this help topic in CBFS Forum

CallbackFileSystem.FileCacheEnabled property


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

CallbackFileSystem     See also    


Enables or disables file cache.


    property FileCacheEnabled : boolean;

[C++ (Lib)]
    bool GetFileCacheEnabled();
    void SetFileCacheEnabled(BOOL Value);

[C++ (VCL)]
    bool FileCacheEnabled;

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

    bool FileCacheEnabled;

    Public Property FileCacheEnabled As Boolean

    boolean getFileCacheEnabled();
    void setFileCacheEnabled(boolean value)


Use this property to enable or disable the file data cache (it's enabled by default). The cache is used to reduce the number of calls to OnReadFile / OnWriteFile callbacks.

Unlike Cache* properties which affect the whole process, this property lets you turn caching on and off for particular storage.

Call from...

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

See also

FileCacheType property     MetadataCacheEnabled property     MountMedia method    

Discuss this help topic in CBFS Forum