ldas-tools-diskcacheAPI 2.7.7
|
Process the collection of hot directories. More...
Classes | |
struct | info |
Storage class of state information. More... | |
class | no_next |
Public Types | |
typedef HotDirectory::shared_dir_info_type | shared_dir_info_type |
Storage type for directory information. More... | |
typedef HotDirectory::weak_dir_info_type | weak_dir_info_type |
Storage type for directory information. More... | |
typedef HotDirectory::shared_dir_info_type::element_type | dir_info_type |
Public Member Functions | |
daemon () | |
Default constructor. More... | |
virtual | ~daemon () |
virtual void | operator() () |
Update each of entries in the collection of hot directories. More... | |
Static Public Member Functions | |
static void | ForEach (HotDirectory::UnaryFunction &Func) |
Iterate over each hot directory. More... | |
static void | Start () |
Start the daemon thread. More... | |
static void | Stop () |
Static Private Member Functions | |
static weak_dir_info_type | next (weak_dir_info_type DirInfoRef, directory_set_type *&DirectorySet) |
Get the next hot directory to scan. More... | |
Private Attributes | |
bool | finished |
Process the collection of hot directories.
This maintains the thread that is responsible for scanning directories that are being updated later than the user specified lower bound time.
typedef HotDirectory::shared_dir_info_type::element_type anonymous_namespace{HotDirectory.cc}::daemon::dir_info_type |
typedef HotDirectory::shared_dir_info_type anonymous_namespace{HotDirectory.cc}::daemon::shared_dir_info_type |
Storage type for directory information.
Storage of the directory information allowing for reference counting so as to protect the memory being referenced to stay within scope till all consumers have completed their use of of the data.
typedef HotDirectory::weak_dir_info_type anonymous_namespace{HotDirectory.cc}::daemon::weak_dir_info_type |
Storage type for directory information.
Storage of the directory information in a way that allows for the directory information to be removed from the system.
anonymous_namespace{HotDirectory.cc}::daemon::daemon | ( | ) |
Default constructor.
|
virtual |
|
static |
Iterate over each hot directory.
[in] | Func | Function to execute. |
|
staticprivate |
Get the next hot directory to scan.
[in] | DirInfoRef | |
[in] | ExcludeDirs |
|
virtual |
Update each of entries in the collection of hot directories.
|
static |
Start the daemon thread.
|
static |
|
private |