ldas-tools-diskcacheAPI  2.7.1
Classes | Namespaces | Typedefs | Functions | Variables
HotDirectory.cc File Reference
#include <diskcache_config.h>
#include <sys/time.h>
#include <map>
#include <set>
#include "ldastoolsal/MemChecker.hh"
#include "ldastoolsal/gpstime.hh"
#include "ldastoolsal/mutexlock.hh"
#include "ldastoolsal/Task.hh"
#include "ldastoolsal/TaskThread.hh"
#include "ldastoolsal/ThreadPool.hh"
#include "diskcacheAPI/Common/Logging.hh"
#include "diskcacheAPI/Cache/DirectoryManager.hh"
#include "diskcacheAPI/Cache/HotDirectory.hh"
Include dependency graph for HotDirectory.cc:

Classes

class  anonymous_namespace{HotDirectory.cc}::daemon
 Process the collection of hot directories. More...
 
struct  anonymous_namespace{HotDirectory.cc}::daemon::info
 Storage class of state information. More...
 
class  anonymous_namespace{HotDirectory.cc}::daemon::no_next
 

Namespaces

 anonymous_namespace{HotDirectory.cc}
 
 diskCache
 Maintains a list of commands that are supported.
 
 diskCache::Cache
 

Typedefs

typedef HotDirectory::timestamp_type timestamp_type
 
typedef HotDirectory::directory_set_type directory_set_type
 
typedef std::map< std::string, daemon::info > anonymous_namespace{HotDirectory.cc}::hot_directory_container_type
 Container type for storing hot directory information. More...
 

Functions

MutexLock::baton_type anonymous_namespace{HotDirectory.cc}::baton ()
 Obtain lock. More...
 
hot_directory_container_type & anonymous_namespace{HotDirectory.cc}::hot_list ()
 Obtain list of registered hot directories. More...
 
void anonymous_namespace{HotDirectory.cc}::cond_register (daemon::weak_dir_info_type Entry, const HotDirectory::directory_set_type &DirectorySet, bool Log)
 Register Entry in collection of hot directories. More...
 
bool anonymous_namespace{HotDirectory.cc}::is_hot (daemon::dir_info_type *Entry)
 Check if Entry is hot. More...
 
bool anonymous_namespace{HotDirectory.cc}::is_hot (daemon::weak_dir_info_type Entry)
 Check if Entry is hot. More...
 
void anonymous_namespace{HotDirectory.cc}::unregister (daemon::weak_dir_info_type Entry)
 Remove Entry from collection of hot directories. More...
 

Variables

static const std::string anonymous_namespace{HotDirectory.cc}::JOB_INFO = "HOT_DIR"
 
TaskThread * anonymous_namespace{HotDirectory.cc}::HotDirectoryThread = (TaskThread*)NULL
 
daemon * anonymous_namespace{HotDirectory.cc}::HotDirectoryTask = new daemon
 

Typedef Documentation

◆ directory_set_type

typedef HotDirectory::directory_set_type directory_set_type

◆ timestamp_type

typedef HotDirectory::timestamp_type timestamp_type