SolFSStorage.Buffering property
Filter:
Pascal DLL C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
Specifies the number of pages being cached for one stream.
Declaration
[Pascal]
property Buffering: LongWord;
[DLL]
long _stdcall StorageSetBuffering(unsigned long Storage, unsigned long PagesPerCluster);
long _stdcall StorageGetBuffering(unsigned long Storage, unsigned long *PagesPerCluster);
[C++ (DLL/Lib)]
unsigned long get_Buffering()
void set_Buffering(unsigned long)
[C++ (VCL)]
__property LongWord Buffering;
[C++ (.NET)]
LongWord get_Buffering()
void set_Buffering(LongWord)
[C#]
unsigned int Buffering
[VB.NET]
Property Buffering As Integer
Parameters
[DLL] Return values
0 if the function succeeded or one of Error codes if the function failed.
Description
Use this property to control, how many pages will be kept in memory without reading from or writing to storage, for the single stream. When the stream is not compressed, the value is by default 1 and you can change the value. When the stream is compressed, the value set by SetFileCompression method in PagesPerCluster parameter is used. Use Flush to write all pages to storage immediately.
