Discuss this help topic in CBFS Forum

CallbackFileSystem.FileCacheEnabled property

Filter:

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

CallbackFileSystem     See also    

Overview

Enables or disables file cache.

Declaration

[Pascal]
    property FileCacheEnabled : boolean;

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

[C++ (VCL)]
    bool FileCacheEnabled;

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

[C#]
    bool FileCacheEnabled;

[VB.NET]
    Public Property FileCacheEnabled As Boolean

[Java]
    boolean getFileCacheEnabled();
    void setFileCacheEnabled(boolean value)

Description

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