ldas-tools-diskcacheAPI  2.7.0
Classes | Functions | Variables
diskCache Namespace Reference

Maintains a list of commands that are supported. More...

Classes

class  DirectoryManagerSingleton
 Manages a collection of mount points. More...
 
class  DumpCacheDaemon
 Continuous dump the cache to media. More...
 
class  MountPointManager
 Manages a collection of mount points. More...
 
class  MountPointManagerSingleton
 Manages a collection of mount points. More...
 
class  ScanMountPointsDaemon
 Continuous scanning of the mount point lists. More...
 
class  ServerInterface
 Simple interface to a standalone diskcache server. More...
 

Functions

void Initialize ()
 Runtime initialization of the core libary. More...
 
 SYMBOL_CLASS_INIT (DumpCacheDaemon::HASH_FILENAME_ASCII, "frame_cache_dump")
 
 SYMBOL_CLASS_INIT (DumpCacheDaemon::HASH_FILENAME_BINARY, ".frame.cache")
 
 SYMBOL_CLASS_INIT (DumpCacheDaemon::INTERVAL, 120000)
 

Variables

INT_4U ScanInterval = 500
 

Detailed Description

Maintains a list of commands that are supported.

Function Documentation

◆ Initialize()

void diskCache::Initialize ( )

Runtime initialization of the core libary.

The runtime initialization of the core ensures that many of the callback tables for various classes are properly initialized

◆ SYMBOL_CLASS_INIT() [1/3]

diskCache::SYMBOL_CLASS_INIT ( DumpCacheDaemon::HASH_FILENAME_ASCII  ,
"frame_cache_dump"   
)

This is the name of the ascii version of the in memory hash.

This file only contains entries of searchable data.

◆ SYMBOL_CLASS_INIT() [2/3]

diskCache::SYMBOL_CLASS_INIT ( DumpCacheDaemon::HASH_FILENAME_BINARY  ,
".frame.cache"   
)

This is the name of the binary version of the in memory hash.

This file contains an entry for each directory that has been searched. It will include directories that contain no searchable data as well as directories that contain searchable data.

◆ SYMBOL_CLASS_INIT() [3/3]

diskCache::SYMBOL_CLASS_INIT ( DumpCacheDaemon::INTERVAL  ,
120000   
)

This variable specifies the number of milliseconds of delay between writes of the memory cache to the storage media.

The default value is 120000 ( 2 min. ).

Variable Documentation

◆ ScanInterval

INT_4U diskCache::ScanInterval = 500

This variable specifies the number of milliseconds to delay between successive scans of the list of mount points.

The default value is 500 ( 0.5 sec. ).