FileCache

Description

sealed class Tinman.Core.IO.Files.FileCache

Derived from

DataCache abstract

The FileCache class provides a page based cache in memory.

Public / Constructors

File​Cache


public constructor FileCache → (2)

cacheMemory in : int32

[>0]
The cache size, in megabytes.

pageSize opt : int32 = 16384

[pow2]
The page size.

Creates a new instance of FileCache.

Public / Attributes

Memory​Size


public attribute MemorySize → (get)

value : int32

[>0]
The memory size of this cache, in bytes.

Returns the memory size of this file cache.

Page​Size


public attribute PageSize → (get)

value : int32

[pow2]
The page size of this cache, in bytes.

Returns the page size of this file cache.