Discuss this help topic in CBFS Forum

CallbackFileSystem.FileCacheType property

Filter:

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

CallbackFileSystem     See also    

Overview

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

Declaration

[Pascal]
    property FileCacheType : TCbFsFileCacheType;

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

[C++ (VCL)]
    TCbFsFileCacheType FileCacheType;

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

[C#]
    CbFsFileCacheType FileCacheType;

[VB.NET]
    Public Property FileCacheType As CbFsFileCacheType

[Java]
    CbFsFileCacheType getFileCacheType();
    void setFileCacheType(CbFsFileCacheType Type);

Values of CbFsFileCacheType

Description

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