Discuss this help topic in CBFS Forum

CallbackFileSystem.FileCacheType property


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

CallbackFileSystem     See also    


Specifies how cache memory is allocated for the file data cache.


    property FileCacheType : TCbFsFileCacheType;

[C++ (Lib)]
    CbFsFileCacheType GetFileCacheType();
    void SetFileCacheType(CbFsFileCacheType Type);

[C++ (VCL)]
    TCbFsFileCacheType FileCacheType;

[C++ (.NET)]
    CbFsFileCacheType FileCacheType;

    CbFsFileCacheType FileCacheType;

    Public Property FileCacheType As CbFsFileCacheType

    CbFsFileCacheType getFileCacheType();
    void setFileCacheType(CbFsFileCacheType Type);

Values of CbFsFileCacheType


This property lets you specify from where the cache memory is taken. Default value is "fctKernel" (non-pageable kernel memory is used).

Kernel-mode cache is much faster, however you can't effectively control its size. Cache size can be set via CacheSize property, but only for a user-mode cache.

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

Read more about caches.

See also

CacheSize property     FileCacheEnabled property     MountMedia property    

Discuss this help topic in CBFS Forum