ldas-tools-diskcacheAPI  2.5.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
diskCache::DumpCacheDaemon Class Reference

Continuous dump the cache to media. More...

#include <DumpCacheDaemon.hh>

Inheritance diagram for diskCache::DumpCacheDaemon:

Public Types

typedef INT_4U interval_type
 
typedef
LDASTools::AL::MutexLockVariable
< bool > 
io_lock_type
 
typedef
diskCache::Streams::Interface::version_type 
version_type
 
typedef LDASTools::AL::TaskThread thread_type
 

Public Member Functions

 SYMBOL_CLASS_DECL (HASH_FILENAME_ASCII, std::string)
 
 SYMBOL_CLASS_DECL (HASH_FILENAME_BINARY, std::string)
 
 SYMBOL_CLASS_DECL_BY_VALUE (INTERVAL, INT_4U)
 
 DumpCacheDaemon ()
 
virtual void operator() ()
 

Static Public Member Functions

static version_type ASCIIVersion ()
 
static void ASCIIVersion (version_type Value)
 
static version_type BinaryVersion ()
 
static void BinaryVersion (version_type Value)
 
static std::string FilenameAscii ()
 
static void FilenameAscii (const std::string &Value)
 
static std::string FilenameBinary ()
 
static void FilenameBinary (const std::string &Value)
 
static io_lock_typeIOLock ()
 
static interval_type Interval ()
 
static void Interval (interval_type Value)
 
static void Start ()
 

Static Public Attributes

static const char *const RESYNC_EXTENSION = "#Resync#"
 Extension to use when a cache syncronization request is made. More...
 

Detailed Description

Continuous dump the cache to media.

Member Typedef Documentation

typedef LDASTools::AL::MutexLockVariable< bool > diskCache::DumpCacheDaemon::io_lock_type
typedef LDASTools::AL::TaskThread diskCache::DumpCacheDaemon::thread_type

Constructor & Destructor Documentation

diskCache::DumpCacheDaemon::DumpCacheDaemon ( )

Member Function Documentation

DumpCacheDaemon::version_type diskCache::DumpCacheDaemon::ASCIIVersion ( )
inlinestatic
void diskCache::DumpCacheDaemon::ASCIIVersion ( version_type  Value)
inlinestatic
DumpCacheDaemon::version_type diskCache::DumpCacheDaemon::BinaryVersion ( )
inlinestatic
void diskCache::DumpCacheDaemon::BinaryVersion ( version_type  Value)
inlinestatic
std::string diskCache::DumpCacheDaemon::FilenameAscii ( )
inlinestatic
void diskCache::DumpCacheDaemon::FilenameAscii ( const std::string &  Value)
inlinestatic
std::string diskCache::DumpCacheDaemon::FilenameBinary ( )
inlinestatic
void diskCache::DumpCacheDaemon::FilenameBinary ( const std::string &  Value)
inlinestatic
DumpCacheDaemon::interval_type diskCache::DumpCacheDaemon::Interval ( )
inlinestatic
void diskCache::DumpCacheDaemon::Interval ( interval_type  Value)
inlinestatic
DumpCacheDaemon::io_lock_type & diskCache::DumpCacheDaemon::IOLock ( )
inlinestatic
void diskCache::DumpCacheDaemon::operator() ( )
virtual
Todo:
Need to keep track of this information within the MountPointScanner??

Suspend for a period of time

void diskCache::DumpCacheDaemon::Start ( )
inlinestatic
Todo:
Protect from multiple scanner daemons from running.
Todo:
Need to setup the task thread to be returned to the pool once the task is complete.
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL ( HASH_FILENAME_ASCII  ,
std::string   
)
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL ( HASH_FILENAME_BINARY  ,
std::string   
)
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL_BY_VALUE ( INTERVAL  ,
INT_4U   
)

Member Data Documentation

const char *const diskCache::DumpCacheDaemon::RESYNC_EXTENSION = "#Resync#"
static

Extension to use when a cache syncronization request is made.

The extension that is appended to the filename to generate dump files that reflect a system that is in the process of resyncing the in memory cache with information located by the list of mount points.


The documentation for this class was generated from the following files: