ldas-tools-diskcacheAPI
2.7.1
|
Continuous dump the cache to media. More...
#include <DumpCacheDaemon.hh>
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 |
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 |
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() () |
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() () |
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_type & | IOLock () |
static interval_type | Interval () |
static void | Interval (interval_type Value) |
static void | Start () |
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_type & | IOLock () |
static interval_type | Interval () |
static void | Interval (interval_type Value) |
static void | Start () |
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_type & | IOLock () |
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... | |
Private Member Functions | |
bool | is_active () const |
bool | is_active () const |
bool | is_active () const |
Private Attributes | |
bool | active |
Keep track if the daemon is still active. More... | |
Static Private Attributes | |
static version_type | version_ascii |
static version_type | version_binary |
static LDASTools::AL::ReadWriteLock::baton_type | variable_baton |
static LDASTools::AL::MutexLock::baton_type | m_io_baton |
syncronize between the reading and writing of the cache files More... | |
static bool | m_io_dummy_var = false |
Continuous dump the cache to media.
typedef INT_4U diskCache::DumpCacheDaemon::interval_type |
typedef INT_4U diskCache::DumpCacheDaemon::interval_type |
typedef INT_4U diskCache::DumpCacheDaemon::interval_type |
typedef LDASTools::AL::MutexLockVariable< bool > diskCache::DumpCacheDaemon::io_lock_type |
typedef LDASTools::AL::MutexLockVariable< bool > diskCache::DumpCacheDaemon::io_lock_type |
typedef LDASTools::AL::MutexLockVariable< bool > diskCache::DumpCacheDaemon::io_lock_type |
typedef LDASTools::AL::TaskThread diskCache::DumpCacheDaemon::thread_type |
typedef LDASTools::AL::TaskThread diskCache::DumpCacheDaemon::thread_type |
typedef LDASTools::AL::TaskThread diskCache::DumpCacheDaemon::thread_type |
diskCache::DumpCacheDaemon::DumpCacheDaemon | ( | ) |
diskCache::DumpCacheDaemon::DumpCacheDaemon | ( | ) |
diskCache::DumpCacheDaemon::DumpCacheDaemon | ( | ) |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
|
inlineprivate |
|
private |
|
private |
|
virtual |
Suspend for a period of time
|
virtual |
|
virtual |
|
inlinestatic |
|
static |
|
static |
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL | ( | HASH_FILENAME_ASCII | , |
std::string | |||
) |
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL | ( | HASH_FILENAME_ASCII | , |
std::string | |||
) |
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 | ( | HASH_FILENAME_BINARY | , |
std::string | |||
) |
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL | ( | HASH_FILENAME_BINARY | , |
std::string | |||
) |
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL_BY_VALUE | ( | INTERVAL | , |
INT_4U | |||
) |
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL_BY_VALUE | ( | INTERVAL | , |
INT_4U | |||
) |
diskCache::DumpCacheDaemon::SYMBOL_CLASS_DECL_BY_VALUE | ( | INTERVAL | , |
INT_4U | |||
) |
|
private |
Keep track if the daemon is still active.
|
staticprivate |
syncronize between the reading and writing of the cache files
|
staticprivate |
|
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.
|
staticprivate |
|
staticprivate |
|
staticprivate |