Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.UseSystemCache property

Filter:

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

SolFSStorage    

Overview

Enables or disables system cache

Declaration

[Pascal]
    property UseSystemCache : boolean;

[Plain C]
    long _stdcall StorageSetUseSystemCache( unsigned long Storage, bool UseSystemCache);

[C++ (DLL/Lib)]
    bool get_UseSystemCache()
    void set_UseSystemCache(bool Value)

[C++ (VCL)]
    __property bool UseSystemCache={ nodefault }

[C++ (.NET)]
    bool get_UseSystemCache()
    void set_UseSystemCache(bool Value)

[C#]
    bool UseSystemCache

[VB.NET]
    Property UseSystemCache As Boolean

[Java]
    bolean getUseSystemCache()
    void setUseSystemCache(boolean value)

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • Enable - specifies if the cache is enabled

Return value

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Description

Use this method to enable or disable operating system cache on the SolFS storage. Change of this parameter changes speed of operations, but the change can be different for different types of operations and even data sizes.

The property may be changed only when the storage is closed.

In OS edition the property is available only on Windows.

Back to top