[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazFileCache' (#lazutils)

TFileStateCacheItem

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Contains information about a file or directory in the state caching mechanism.

Declaration

Source position: lazfilecache.pas line 36

type TFileStateCacheItem = class

public

  constructor Create();

  

Constructor for the class instance.

  function CalcMemSize;

  

Gets the memory size needed to store the class instance.

  property Filename: string; [r]

  

Name for the file or directory in the cache item.

  property PhysicalFilename: string; [r]

  

Physical name for the file or directory in the cache item.

  property Flags: TFileStateCacheItemFlags; [r]

  

Contains status flags for the cached file or directory item.

  property TestedFlags: TFileStateCacheItemFlags; [r]

  

Contains status flags that have been tested for the cached item.

  property TimeStamp: Int64; [r]

  

Timestamp for the cached item.

  property Age: LongInt; [r]

  

FileAge value for the file or directory.

end;

Inheritance

TFileStateCacheItem

  

Contains information about a file or directory in the state caching mechanism.

|

TObject

Description

TFileStateCacheItem is a class which contains information about a file or directory in the state caching mechanism. TFileStateCacheItem has properties used to represent a file or directory name (symbolic and physical), a timestamp, and status flags.

TFileStateCacheItem is the type creates and stored in the internal AVL tree in TFileStateCache using its FindFile method.

See also

TFileStateCache.FindFile

  

Gets (or creates) the cached item with the specified name.


Version 4.0 Generated 2025-05-03 Home