CernVM-FS
2.12.0
|
Classes | |
struct | ListenerHandle |
Typedefs | |
typedef catalog::AbstractCatalogManager < catalog::Catalog > | CatalogManager |
Functions | |
static void * | MainUnpinListener (void *data) |
static void * | MainWatchdogListener (void *data) |
ListenerHandle * | RegisterUnpinListener (QuotaManager *quota_manager, CatalogManager *catalog_manager, const string &repository_name) |
ListenerHandle * | RegisterWatchdogListener (QuotaManager *quota_manager, const string &repository_name) |
void | UnregisterListener (ListenerHandle *handle) |
ListenerHandle * | RegisterUnpinListener (QuotaManager *quota_manager, CatalogManager *catalog_manager, const std::string &repository_name) |
ListenerHandle * | RegisterWatchdogListener (QuotaManager *quota_manager, const std::string &repository_name) |
Definition at line 31 of file quota_listener.h.
|
static |
Definition at line 34 of file quota_listener.cc.
Referenced by RegisterUnpinListener().
|
static |
Definition at line 76 of file quota_listener.cc.
Referenced by RegisterWatchdogListener(), and Watchdog::Spawn().
ListenerHandle* quota::RegisterUnpinListener | ( | QuotaManager * | quota_manager, |
CatalogManager * | catalog_manager, | ||
const std::string & | repository_name | ||
) |
ListenerHandle* quota::RegisterUnpinListener | ( | QuotaManager * | quota_manager, |
CatalogManager * | catalog_manager, | ||
const string & | repository_name | ||
) |
Registers a back channel that reacts on high watermark of pinned chunks
Definition at line 125 of file quota_listener.cc.
Referenced by Spawn().
ListenerHandle* quota::RegisterWatchdogListener | ( | QuotaManager * | quota_manager, |
const std::string & | repository_name | ||
) |
ListenerHandle* quota::RegisterWatchdogListener | ( | QuotaManager * | quota_manager, |
const string & | repository_name | ||
) |
Registers a back channel that kills the fuse module if the cache manager disappears
Definition at line 147 of file quota_listener.cc.
Referenced by Spawn().
void quota::UnregisterListener | ( | ListenerHandle * | handle | ) |
Definition at line 165 of file quota_listener.cc.
Referenced by ShutdownMountpoint(), and cvmfs::UnregisterQuotaListener().