ldas-tools-diskcacheAPI
2.6.3
|
Maintains a list of commands that are supported. More...
Namespaces | |
Cache | |
Commands | |
Common | |
Daemon | |
MetaCommand | |
Streams | |
Symbols | |
Classes | |
class | AtomicFile |
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 | MountPointScanner |
class | ScanMountPointsDaemon |
Continuous scanning of the mount point lists. More... | |
class | ServerInterface |
Simple interface to a standalone diskcache server. More... | |
class | ThreadCounter |
Typedefs | |
typedef INT_4S | mtime_type |
typedef INT_8U | total_file_count_type |
Enumerations | |
enum | dump_format_type { DUMP_FORMAT_TCL = 1 } |
Functions | |
Streams::IBinary & | operator>> (Streams::IBinary &Stream, Cache::Directory::dirref_type &Data) |
total_file_count_type | ScannedFiles () |
void | ScannedFiles (total_file_count_type IncrementValue) |
void | SetFilenameExtensions (const std::list< std::string > &Extensions) |
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) | |
template<typename StreamT > | |
StreamT & | Read (StreamT &Stream) |
template<typename StreamT > | |
StreamT & | Write (StreamT &Stream) |
Streams::IBinary & | operator>> (Streams::IBinary &Stream, MountPointManager &Data) |
Variables | |
int | RWLOCK_TIMEOUT = 0 |
const total_file_count_type | SCANNED_FILES_RESET |
INT_4U | ScanInterval = 500 |
Maintains a list of commands that are supported.
typedef INT_4S diskCache::mtime_type |
typedef INT_8U diskCache::total_file_count_type |
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
Streams::IBinary& diskCache::operator>> | ( | Streams::IBinary & | Stream, |
MountPointManager & | Data | ||
) |
Streams::IBinary& diskCache::operator>> | ( | Streams::IBinary & | Stream, |
Cache::Directory::dirref_type & | Data | ||
) |
|
inline |
total_file_count_type diskCache::ScannedFiles | ( | ) |
void diskCache::ScannedFiles | ( | total_file_count_type | IncrementValue | ) |
void diskCache::SetFilenameExtensions | ( | const std::list< std::string > & | Extensions | ) |
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.
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.
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. ).
|
inline |
int diskCache::RWLOCK_TIMEOUT = 0 |
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. ).
const total_file_count_type diskCache::SCANNED_FILES_RESET |