ldas-tools-diskcacheAPI
2.7.2
|
Directory caching scheme. More...
#include <Directory.hh>
Classes | |
class | FileCacheError |
Exception thrown when a file could not be added to a cache. More... | |
class | functor_dump |
class | functor_reset |
class | ScanResults |
class | StartIsNotADirectoryError |
The top most entry is not a directory. More... | |
class | SymbolicLinkError |
Report symbolic links as errors. More... | |
Public Member Functions | |
Directory () | |
Default Constructor. More... | |
Directory (const std::string &Path, const std::string &Root) | |
Constructor with a directory path. More... | |
Directory (const std::string &Path, dirref_type Parent) | |
Constructor with a directory path and parent. More... | |
virtual | ~Directory () |
Destructor. More... | |
void | AddSubdirectory (dirref_type Dir) |
template<typename Op > | |
void | Children (Op &Operation) const |
Iterate over the collection of subdirectories. More... | |
template<typename Op > | |
void | ChildrenReverse (Op &Operation) const |
Reverse iterate over the collection of subdirectories. More... | |
virtual bool | Configure (const std::string &Variable, const std::string &Value) |
Allow for customization. More... | |
size_type | DirectoryCount () const |
void | Find (QueryAnswer &Answer) const |
Find a collection of files. More... | |
size_type | FileCount () const |
const std::string & | Fullname () const |
Return the fully qualified name of the directory. More... | |
bool | IsRoot () const |
Return true if this object represents a root directory. More... | |
bool | IsOffline () const |
Return true if the directory is offline. More... | |
const std::string & | Name () const |
Return the relative name of the directory. More... | |
template<typename StreamT > | |
StreamT & | Read (StreamT &Stream) |
Read the common information from a stream. More... | |
const std::string & | Root () const |
Retrieve the directory where this tree is rooted. More... | |
dirref_type | Scan (DirectoryManager &DirectoryCollection, ScanResults &Results, const std::string &Caller, const std::string &JobInfo) const |
Scan current directory directory. More... | |
timestamp_type | TimeModified () const |
Report the last time the directory had been modified. More... | |
template<typename StreamT > | |
StreamT & | Write (StreamT &Stream) const |
Write the information out to a stream. More... | |
Directory () | |
Default Constructor. More... | |
Directory (const std::string &Path, const std::string &Root) | |
Constructor with a directory path. More... | |
Directory (const std::string &Path, dirref_type Parent) | |
Constructor with a directory path and parent. More... | |
virtual | ~Directory () |
Destructor. More... | |
void | AddSubdirectory (dirref_type Dir) |
template<typename Op > | |
void | Children (Op &Operation) const |
Iterate over the collection of subdirectories. More... | |
template<typename Op > | |
void | ChildrenReverse (Op &Operation) const |
Reverse iterate over the collection of subdirectories. More... | |
virtual bool | Configure (const std::string &Variable, const std::string &Value) |
Allow for customization. More... | |
size_type | DirectoryCount () const |
void | Find (QueryAnswer &Answer) const |
Find a collection of files. More... | |
size_type | FileCount () const |
const std::string & | Fullname () const |
Return the fully qualified name of the directory. More... | |
bool | IsRoot () const |
Return true if this object represents a root directory. More... | |
bool | IsOffline () const |
Return true if the directory is offline. More... | |
const std::string & | Name () const |
Return the relative name of the directory. More... | |
template<typename StreamT > | |
StreamT & | Read (StreamT &Stream) |
Read the common information from a stream. More... | |
const std::string & | Root () const |
Retrieve the directory where this tree is rooted. More... | |
dirref_type | Scan (DirectoryManager &DirectoryCollection, ScanResults &Results, const std::string &Caller, const std::string &JobInfo) const |
Scan current directory directory. More... | |
timestamp_type | TimeModified () const |
Report the last time the directory had been modified. More... | |
template<typename StreamT > | |
StreamT & | Write (StreamT &Stream) const |
Write the information out to a stream. More... | |
Directory () | |
Default Constructor. More... | |
Directory (const std::string &Path, const std::string &Root) | |
Constructor with a directory path. More... | |
Directory (const std::string &Path, dirref_type Parent) | |
Constructor with a directory path and parent. More... | |
virtual | ~Directory () |
Destructor. More... | |
void | AddSubdirectory (dirref_type Dir) |
template<typename Op > | |
void | Children (Op &Operation) const |
Iterate over the collection of subdirectories. More... | |
template<typename Op > | |
void | ChildrenReverse (Op &Operation) const |
Reverse iterate over the collection of subdirectories. More... | |
virtual bool | Configure (const std::string &Variable, const std::string &Value) |
Allow for customization. More... | |
size_type | DirectoryCount () const |
void | Find (QueryAnswer &Answer) const |
Find a collection of files. More... | |
size_type | FileCount () const |
const std::string & | Fullname () const |
Return the fully qualified name of the directory. More... | |
bool | IsRoot () const |
Return true if this object represents a root directory. More... | |
bool | IsOffline () const |
Return true if the directory is offline. More... | |
const std::string & | Name () const |
Return the relative name of the directory. More... | |
template<typename StreamT > | |
StreamT & | Read (StreamT &Stream) |
Read the common information from a stream. More... | |
const std::string & | Root () const |
Retrieve the directory where this tree is rooted. More... | |
dirref_type | Scan (DirectoryManager &DirectoryCollection, ScanResults &Results, const std::string &Caller, const std::string &JobInfo) const |
Scan current directory directory. More... | |
timestamp_type | TimeModified () const |
Report the last time the directory had been modified. More... | |
template<typename StreamT > | |
StreamT & | Write (StreamT &Stream) const |
Write the information out to a stream. More... | |
template<> | |
OASCII & | Write (OASCII &Stream) const |
template<> | |
IBinary & | Read (IBinary &Stream) |
template<> | |
OBinary & | Write (OBinary &Stream) const |
Static Public Member Functions | |
static const excluded_directories_ro_type | ExcludedDirectories () |
Obtain patterns of directories to exclude. More... | |
static void | ExcludedDirectories (excluded_directories_type &Dirs) |
Modify the list of directories to be excluded. More... | |
static const excluded_directories_ro_type | ExcludedDirectories () |
Obtain patterns of directories to exclude. More... | |
static void | ExcludedDirectories (excluded_directories_type &Dirs) |
Modify the list of directories to be excluded. More... | |
static const excluded_directories_ro_type | ExcludedDirectories () |
Obtain patterns of directories to exclude. More... | |
static void | ExcludedDirectories (excluded_directories_type &Dirs) |
Modify the list of directories to be excluded. More... | |
Protected Member Functions | |
boost::shared_ptr< Directory > | parent () const |
Return the parent associated with this directory. More... | |
const children_type & | children () const |
Retrieve the set of children. More... | |
search_data_type | searchData (search_id_type Key) |
boost::shared_ptr< Directory > | parent () const |
Return the parent associated with this directory. More... | |
const children_type & | children () const |
Retrieve the set of children. More... | |
search_data_type | searchData (search_id_type Key) |
boost::shared_ptr< Directory > | parent () const |
Return the parent associated with this directory. More... | |
const children_type & | children () const |
Retrieve the set of children. More... | |
search_data_type | searchData (search_id_type Key) |
Private Member Functions | |
Directory (const Directory &Source) | |
Copy Constructor. More... | |
bool | is_parent_of (dirref_type Child) const |
Check for direct relationship. More... | |
dirref_type | update (ScanResults &Results, const DirectoryManager &DirectoryCollection, const StatInfo &Stat) const |
void | read_directory (DirectoryScanData &ScanData, const StatInfo &Stat) |
void | reset (boost::shared_ptr< Directory > Dir) |
Directory (const Directory &Source) | |
Copy Constructor. More... | |
bool | is_parent_of (dirref_type Child) const |
Check for direct relationship. More... | |
dirref_type | update (ScanResults &Results, const DirectoryManager &DirectoryCollection, const StatInfo &Stat) const |
void | read_directory (DirectoryScanData &ScanData, const StatInfo &Stat) |
void | reset (boost::shared_ptr< Directory > Dir) |
Directory (const Directory &Source) | |
Copy Constructor. More... | |
bool | is_parent_of (dirref_type Child) const |
Check for direct relationship. More... | |
dirref_type | update (ScanResults &Results, const DirectoryManager &DirectoryCollection, const StatInfo &Stat) const |
void | read_directory (DirectoryScanData &ScanData, const StatInfo &Stat) |
void | reset (boost::shared_ptr< Directory > Dir) |
Static Private Member Functions | |
static excluded_directories_rw_type | excluded_directories_rw () |
Get a modifiable version of the excluded dirs. More... | |
static RegistrySingleton::id_type | get_sdgtx_id () |
Get the id for the SDGTx indexing class. More... | |
static bool | is_updated (timestamp_type Old, timestamp_type New) |
static excluded_directories_rw_type | excluded_directories_rw () |
Get a modifiable version of the excluded dirs. More... | |
static RegistrySingleton::id_type | get_sdgtx_id () |
Get the id for the SDGTx indexing class. More... | |
static bool | is_updated (timestamp_type Old, timestamp_type New) |
static excluded_directories_rw_type | excluded_directories_rw () |
Get a modifiable version of the excluded dirs. More... | |
static RegistrySingleton::id_type | get_sdgtx_id () |
Get the id for the SDGTx indexing class. More... | |
static bool | is_updated (timestamp_type Old, timestamp_type New) |
Private Attributes | |
index_container_type | m_indexes |
Devices::element_type | device |
Device on which the directory is located. More... | |
children_type | m_subdirs |
Collection of subdirectories. More... | |
ignored_type | m_subdirs_ignored |
std::string | m_name |
timestamp_type | m_last_time_modified |
std::string | m_root |
bool | is_root |
LDASTools::AL::MutexLock::baton_type | m_scan_baton |
Prevent being modified by multiple threads. More... | |
directory_state | m_state |
Static Private Attributes | |
static LDASTools::AL::MutexLock::baton_type | SDGTX_ID_baton |
static RegistrySingleton::id_type | SDGTx_ID |
static RegistrySingleton::ascii_key_type | SDGTx_ID_KEY = "SDGTx" |
static excluded_directories_rw_type::baton_type | p_excluded_directories_baton |
static excluded_directories_type | p_excluded_directories |
Friends | |
class | functor_reset |
Directory caching scheme.
This caching scheme is for the caching of directory information. It is not used directly by end users to search for files, but instead is used as the driver for detecting changes to the file system and causing search caches to be updated.
typedef std::set< std::string > diskCache::Cache::Directory::children_type |
typedef std::set< std::string > diskCache::Cache::Directory::children_type |
typedef std::set< std::string > diskCache::Cache::Directory::children_type |
typedef boost::shared_ptr< Directory > diskCache::Cache::Directory::dirref_type |
typedef boost::shared_ptr< Directory > diskCache::Cache::Directory::dirref_type |
typedef boost::shared_ptr< Directory > diskCache::Cache::Directory::dirref_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::READ, excluded_directories_type > diskCache::Cache::Directory::excluded_directories_ro_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::READ, excluded_directories_type > diskCache::Cache::Directory::excluded_directories_ro_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::READ, excluded_directories_type > diskCache::Cache::Directory::excluded_directories_ro_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::WRITE, excluded_directories_type > diskCache::Cache::Directory::excluded_directories_rw_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::WRITE, excluded_directories_type > diskCache::Cache::Directory::excluded_directories_rw_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::WRITE, excluded_directories_type > diskCache::Cache::Directory::excluded_directories_rw_type |
typedef std::list< std::string > diskCache::Cache::Directory::excluded_directories_type |
typedef std::list< std::string > diskCache::Cache::Directory::excluded_directories_type |
typedef std::list< std::string > diskCache::Cache::Directory::excluded_directories_type |
typedef std::set< std::string > diskCache::Cache::Directory::ignored_type |
typedef std::set< std::string > diskCache::Cache::Directory::ignored_type |
typedef std::set< std::string > diskCache::Cache::Directory::ignored_type |
typedef LDASTools::AL::unordered_map< search_id_type, search_data_type > diskCache::Cache::Directory::index_container_type |
typedef LDASTools::AL::unordered_map< search_id_type, search_data_type > diskCache::Cache::Directory::index_container_type |
typedef LDASTools::AL::unordered_map< search_id_type, search_data_type > diskCache::Cache::Directory::index_container_type |
typedef boost::shared_ptr< Streams::Streamable > diskCache::Cache::Directory::search_data_type |
typedef boost::shared_ptr< Streams::Streamable > diskCache::Cache::Directory::search_data_type |
typedef boost::shared_ptr< Streams::Streamable > diskCache::Cache::Directory::search_data_type |
typedef INT_4U diskCache::Cache::Directory::size_type |
typedef INT_4U diskCache::Cache::Directory::size_type |
typedef INT_4U diskCache::Cache::Directory::size_type |
typedef INT_4U diskCache::Cache::Directory::timestamp_type |
typedef INT_4U diskCache::Cache::Directory::timestamp_type |
typedef INT_4U diskCache::Cache::Directory::timestamp_type |
anonymous enum |
Enumerator | |
---|---|
MODIFIED_RESET | Directory needs to be rescanned. This state is useful for flagging a single directory for rescanning. Some examples of when a directory would be flagged in this manor would be the: <ul> <li>one second bug</li> <li>Symbolic links appear in the directory.</li> </ul> |
MODIFIED_NEW_DIRECTORY | Directory has been newly created. When a directory is first seen, it is given this state. This allows for some optimization as it does not need to Calculate any differences. |
MODIFIED_OFFLINE | A timeout occured during reading. This error indicates that a directory or subdirectory received a timeout error condition during a scan. The mount point was flagged as being offline and flagged with this state. Once the mount point becomes available, the entire mount point is rescanned. |
anonymous enum |
Enumerator | |
---|---|
MODIFIED_RESET | Directory needs to be rescanned. This state is useful for flagging a single directory for rescanning. Some examples of when a directory would be flagged in this manor would be the: <ul> <li>one second bug</li> <li>Symbolic links appear in the directory.</li> </ul> |
MODIFIED_NEW_DIRECTORY | Directory has been newly created. When a directory is first seen, it is given this state. This allows for some optimization as it does not need to Calculate any differences. |
MODIFIED_OFFLINE | A timeout occured during reading. This error indicates that a directory or subdirectory received a timeout error condition during a scan. The mount point was flagged as being offline and flagged with this state. Once the mount point becomes available, the entire mount point is rescanned. |
anonymous enum |
Enumerator | |
---|---|
MODIFIED_RESET | Directory needs to be rescanned. This state is useful for flagging a single directory for rescanning. Some examples of when a directory would be flagged in this manor would be the: <ul> <li>one second bug</li> <li>Symbolic links appear in the directory.</li> </ul> |
MODIFIED_NEW_DIRECTORY | Directory has been newly created. When a directory is first seen, it is given this state. This allows for some optimization as it does not need to Calculate any differences. |
MODIFIED_OFFLINE | A timeout occured during reading. This error indicates that a directory or subdirectory received a timeout error condition during a scan. The mount point was flagged as being offline and flagged with this state. Once the mount point becomes available, the entire mount point is rescanned. |
diskCache::Cache::Directory::Directory | ( | ) |
Default Constructor.
diskCache::Cache::Directory::Directory | ( | const std::string & | Path, |
const std::string & | Root | ||
) |
Constructor with a directory path.
[in] | Path | The fully qualified path. |
[in] | Root | The root directory |
diskCache::Cache::Directory::Directory | ( | const std::string & | Path, |
dirref_type | Parent | ||
) |
Constructor with a directory path and parent.
[in] | Path | The fully qualified path. |
[in] | Parent | The parent of this node |
|
virtual |
Destructor.
|
private |
Copy Constructor.
Implements the copy constructor for the class.
diskCache::Cache::Directory::Directory | ( | ) |
Default Constructor.
diskCache::Cache::Directory::Directory | ( | const std::string & | Path, |
const std::string & | Root | ||
) |
Constructor with a directory path.
[in] | Path | The fully qualified path. |
[in] | Root | The root directory |
diskCache::Cache::Directory::Directory | ( | const std::string & | Path, |
dirref_type | Parent | ||
) |
Constructor with a directory path and parent.
[in] | Path | The fully qualified path. |
[in] | Parent | The parent of this node |
|
virtual |
Destructor.
|
private |
Copy Constructor.
diskCache::Cache::Directory::Directory | ( | ) |
Default Constructor.
diskCache::Cache::Directory::Directory | ( | const std::string & | Path, |
const std::string & | Root | ||
) |
Constructor with a directory path.
[in] | Path | The fully qualified path. |
[in] | Root | The root directory |
diskCache::Cache::Directory::Directory | ( | const std::string & | Path, |
dirref_type | Parent | ||
) |
Constructor with a directory path and parent.
[in] | Path | The fully qualified path. |
[in] | Parent | The parent of this node |
|
virtual |
Destructor.
|
private |
Copy Constructor.
|
inline |
|
inline |
|
inline |
|
inlineprotected |
Retrieve the set of children.
Retrieve a collection of directories that are children of this directory.
|
protected |
Retrieve the set of children.
|
protected |
Retrieve the set of children.
|
inline |
Iterate over the collection of subdirectories.
[out] | Operation | This is the action that should be taken for each subdirectory. |
void diskCache::Cache::Directory::Children | ( | Op & | Operation | ) | const |
Iterate over the collection of subdirectories.
[out] | Operation | This is the action that should be taken for each subdirectory. |
void diskCache::Cache::Directory::Children | ( | Op & | Operation | ) | const |
Iterate over the collection of subdirectories.
[out] | Operation | This is the action that should be taken for each subdirectory. |
|
inline |
Reverse iterate over the collection of subdirectories.
[out] | Operation | This is the action that should be taken for each subdirectory. |
void diskCache::Cache::Directory::ChildrenReverse | ( | Op & | Operation | ) | const |
Reverse iterate over the collection of subdirectories.
[out] | Operation | This is the action that should be taken for each subdirectory. |
void diskCache::Cache::Directory::ChildrenReverse | ( | Op & | Operation | ) | const |
Reverse iterate over the collection of subdirectories.
[out] | Operation | This is the action that should be taken for each subdirectory. |
|
virtual |
Allow for customization.
[in] | Variable | Name of the option to modify |
[in] | Value | The ascii string representation of the value for the option. |
Configuration of the directory cache understands the following variables:
|
virtual |
Allow for customization.
[in] | Variable | Name of the option to modify |
[in] | Value | The ascii string representation of the value for the option. |
|
virtual |
Allow for customization.
[in] | Variable | Name of the option to modify |
[in] | Value | The ascii string representation of the value for the option. |
|
inline |
size_type diskCache::Cache::Directory::DirectoryCount | ( | ) | const |
size_type diskCache::Cache::Directory::DirectoryCount | ( | ) | const |
|
inlinestaticprivate |
Get a modifiable version of the excluded dirs.
|
staticprivate |
Get a modifiable version of the excluded dirs.
|
staticprivate |
Get a modifiable version of the excluded dirs.
|
inlinestatic |
Obtain patterns of directories to exclude.
|
static |
Obtain patterns of directories to exclude.
|
static |
Obtain patterns of directories to exclude.
|
inlinestatic |
Modify the list of directories to be excluded.
[in,out] | Dirs | The list of new directories to be excluded. The list passed by this variable will be swapped with the current list of directories to be excluded. |
|
static |
Modify the list of directories to be excluded.
[in,out] | Dirs | The list of new directories to be excluded. The list passed by this variable will be swapped with the current list of directories to be excluded. |
|
static |
Modify the list of directories to be excluded.
[in,out] | Dirs | The list of new directories to be excluded. The list passed by this variable will be swapped with the current list of directories to be excluded. |
|
inline |
size_type diskCache::Cache::Directory::FileCount | ( | ) | const |
size_type diskCache::Cache::Directory::FileCount | ( | ) | const |
void diskCache::Cache::Directory::Find | ( | QueryAnswer & | Answer | ) | const |
Find a collection of files.
[in] | Answer | Local storage for query and answer. |
void diskCache::Cache::Directory::Find | ( | QueryAnswer & | Answer | ) | const |
Find a collection of files.
[in] | Answer | Local storage for query and answer. |
void diskCache::Cache::Directory::Find | ( | QueryAnswer & | Answer | ) | const |
Find a collection of files.
[in] | Answer | Local storage for query and answer. |
|
inline |
Return the fully qualified name of the directory.
Retieve the fully pathed name for the requested directory. This is achieved by walking up the geneology until the root node.
const std::string& diskCache::Cache::Directory::Fullname | ( | ) | const |
Return the fully qualified name of the directory.
const std::string& diskCache::Cache::Directory::Fullname | ( | ) | const |
Return the fully qualified name of the directory.
|
inlinestaticprivate |
|
staticprivate |
Get the id for the SDGTx indexing class.
|
staticprivate |
Get the id for the SDGTx indexing class.
|
private |
Check for direct relationship.
|
private |
Check for direct relationship.
|
private |
Check for direct relationship.
|
inlinestaticprivate |
|
staticprivate |
|
staticprivate |
|
inline |
Return true if the directory is offline.
bool diskCache::Cache::Directory::IsOffline | ( | ) | const |
Return true if the directory is offline.
bool diskCache::Cache::Directory::IsOffline | ( | ) | const |
Return true if the directory is offline.
|
inline |
Return true if this object represents a root directory.
bool diskCache::Cache::Directory::IsRoot | ( | ) | const |
Return true if this object represents a root directory.
bool diskCache::Cache::Directory::IsRoot | ( | ) | const |
Return true if this object represents a root directory.
|
inline |
Return the relative name of the directory.
The relative name is simple the name associated with this directory information as referenced by its parent. A root directory name must be fully qualified.
const std::string& diskCache::Cache::Directory::Name | ( | ) | const |
Return the relative name of the directory.
const std::string& diskCache::Cache::Directory::Name | ( | ) | const |
Return the relative name of the directory.
|
protected |
Return the parent associated with this directory.
|
protected |
Return the parent associated with this directory.
|
protected |
Return the parent associated with this directory.
Initialize the memory contents from the stream. This reads the contents for a single directory.
StreamT& diskCache::Cache::Directory::Read | ( | StreamT & | Stream | ) |
Read the common information from a stream.
StreamT& diskCache::Cache::Directory::Read | ( | StreamT & | Stream | ) |
Read the common information from a stream.
StreamT& diskCache::Cache::Directory::Read | ( | StreamT & | Stream | ) |
Read the common information from a stream.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Retrieve the directory where this tree is rooted.
The root name is the name of the node that appears highest in the tree. Taking any node as a start, the tree is assended until the one with no parent is reached. It is the name of this node which is returned.
const std::string& diskCache::Cache::Directory::Root | ( | ) | const |
Retrieve the directory where this tree is rooted.
const std::string& diskCache::Cache::Directory::Root | ( | ) | const |
Retrieve the directory where this tree is rooted.
Directory::dirref_type diskCache::Cache::Directory::Scan | ( | DirectoryManager & | DirectoryCollection, |
ScanResults & | Results, | ||
const std::string & | Caller, | ||
const std::string & | JobInfo | ||
) | const |
Scan current directory directory.
dirref_type diskCache::Cache::Directory::Scan | ( | DirectoryManager & | DirectoryCollection, |
ScanResults & | Results, | ||
const std::string & | Caller, | ||
const std::string & | JobInfo | ||
) | const |
Scan current directory directory.
dirref_type diskCache::Cache::Directory::Scan | ( | DirectoryManager & | DirectoryCollection, |
ScanResults & | Results, | ||
const std::string & | Caller, | ||
const std::string & | JobInfo | ||
) | const |
Scan current directory directory.
|
inlineprotected |
|
protected |
|
protected |
|
inline |
Report the last time the directory had been modified.
timestamp_type diskCache::Cache::Directory::TimeModified | ( | ) | const |
Report the last time the directory had been modified.
timestamp_type diskCache::Cache::Directory::TimeModified | ( | ) | const |
Report the last time the directory had been modified.
|
private |
|
private |
|
private |
StreamT& diskCache::Cache::Directory::Write | ( | StreamT & | Stream | ) | const |
Write the information out to a stream.
StreamT& diskCache::Cache::Directory::Write | ( | StreamT & | Stream | ) | const |
Write the information out to a stream.
StreamT& diskCache::Cache::Directory::Write | ( | StreamT & | Stream | ) | const |
Write the information out to a stream.
|
friend |
|
mutableprivate |
Device on which the directory is located.
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
Prevent being modified by multiple threads.
This variable is used to syncronize access to the scan method so multiple scanners can be used on the
|
private |
|
private |
Collection of subdirectories.
This collection of subdirectories stores the fully qualified name of the directory.
This collection of subdirectories stores the fully qualified name of the directory.
This collection of subdirectories stores the fully qualified name of the directory.
|
private |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |