Solid File System

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

SolFSStorage.UseTransactions property

Filter:

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

SolFSStorage    

Overview

Indicates if transactions are used in SolFSStorage.

Declaration

[Pascal]
    property UseTransactions: Boolean;

[Plain C]
    long _stdcall StorageGetUseTransactions(unsigned long Storage, char *Value);

[C++ (DLL/Lib)]
    bool get_UseTransactions()
    void set_UseTransactions(bool Value)

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

[C++ (.NET)]
    bool get_UseTransactions()
    void set_UseTransactions(bool Value)

[C#]
    bool UseTransactions

[VB.NET]
    Property UseTransactions As Boolean

[Java]
    bolean getUseTransactions()
    void setUseTransactions(boolean value)

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] Value - specifies whether transactions are used.

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.

Description

Transactions are used for storage integrity support. When transactions are enabled, the data is first stored to the journal area in the storage, and then commited. This way the file system integrity is preserved in case of application or system crash.

Transactions in SolFS are NOT of the same kind, as in the DBMS -- you can't rollback the transaction explicitly.

Back to top