ldas-tools-diskcacheAPI 2.7.7
|
Manages a collection of mount points. More...
#include <MountPointManagerSingleton.hh>
Public Member Functions | |
DECLARE_READ_WRITE_SINGLETON (MountPointManagerSingleton) | |
DECLARE_READ_WRITE_SINGLETON (MountPointManagerSingleton) | |
DECLARE_READ_WRITE_SINGLETON (MountPointManagerSingleton) | |
Static Public Member Functions | |
static void | Find (Cache::QueryAnswer &Answer) |
Locate files contained within the collection. More... | |
static const mount_point_names_ro_type | MountPoints () |
Retrieve list of registered mount points. More... | |
static void | Reset (int Flag) |
Reset the requested information. More... | |
static void | Scan (const std::string &MountPoint, ScanResults &Results) |
Request the scanning of a single mount point. More... | |
static void | Update (const mount_point_name_container_type &MountPoints, UpdateResults &Results) |
Update the collection of managed mount points. More... | |
template<typename StreamT > | |
static StreamT & | Read (StreamT &Stream) |
Dump information to the stream. More... | |
template<typename StreamT > | |
static StreamT & | Write (StreamT &Stream) |
Dump information to the stream. More... | |
static void | Find (Cache::QueryAnswer &Answer) |
Locate files contained within the collection. More... | |
static const mount_point_names_ro_type | MountPoints () |
Retrieve list of registered mount points. More... | |
static void | Reset (int Flag) |
Reset the requested information. More... | |
static void | Scan (const std::string &MountPoint, ScanResults &Results) |
Request the scanning of a single mount point. More... | |
static void | Update (const mount_point_name_container_type &MountPoints, UpdateResults &Results) |
Update the collection of managed mount points. More... | |
template<typename StreamT > | |
static StreamT & | Read (StreamT &Stream) |
Dump information to the stream. More... | |
template<typename StreamT > | |
static StreamT & | Write (StreamT &Stream) |
Dump information to the stream. More... | |
static void | Find (Cache::QueryAnswer &Answer) |
Locate files contained within the collection. More... | |
static const mount_point_names_ro_type | MountPoints () |
Retrieve list of registered mount points. More... | |
static void | Reset (int Flag) |
Reset the requested information. More... | |
static void | Scan (const std::string &MountPoint, ScanResults &Results) |
Request the scanning of a single mount point. More... | |
static void | Update (const mount_point_name_container_type &MountPoints, UpdateResults &Results) |
Update the collection of managed mount points. More... | |
template<typename StreamT > | |
static StreamT & | Read (StreamT &Stream) |
Dump information to the stream. More... | |
template<typename StreamT > | |
static StreamT & | Write (StreamT &Stream) |
Dump information to the stream. More... | |
Static Public Attributes | |
static const int | RESET_CACHE |
Reset the cached information. More... | |
static const int | RESET_MANAGED_DIRECTORIES |
Reset the lists of managed directories. More... | |
static const int | RESET_CACHE |
Reset the cached information. More... | |
static const int | RESET_MANAGED_DIRECTORIES |
Reset the lists of managed directories. More... | |
static const int | RESET_CACHE |
Reset the cached information. More... | |
static const int | RESET_MANAGED_DIRECTORIES |
Reset the lists of managed directories. More... | |
Private Types | |
typedef Cache::DirectoryManager | directory_cache_type |
typedef Cache::DirectoryManager | directory_cache_type |
typedef Cache::DirectoryManager | directory_cache_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::WRITE, mount_point_name_container_type > | mount_point_names_rw_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::WRITE, mount_point_name_container_type > | mount_point_names_rw_type |
typedef LDASTools::AL::ReadWriteLockVariable< LDASTools::AL::ReadWriteLock::WRITE, mount_point_name_container_type > | mount_point_names_rw_type |
typedef std::set< std::string > | excluded_mount_point_names_type |
typedef std::set< std::string > | excluded_mount_point_names_type |
typedef std::set< std::string > | excluded_mount_point_names_type |
Private Attributes | |
mount_point_name_container_type | m_mount_points_dictionary_order |
mount_point_name_container_type | p_mount_points_search_order |
excluded_mount_point_names_type | excluded_mount_point_names |
mount_point_names_rw_type::baton_type | p_mount_points_search_order_baton |
directory_cache_type * | m_directory_cache |
Manages a collection of mount points.
A collection of mount points is managed by this singleton class. Each mount point represents a starting point for data searches. The collection of mount points is order sensative in that directories that appear higher in the list will be prioritised when searching for data.
|
inherited |
|
inherited |
|
inherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
typedef MountPointManager::mount_point_name_container_type diskCache::MountPointManagerSingleton::mount_point_name_container_type |
typedef MountPointManager::mount_point_name_container_type diskCache::MountPointManagerSingleton::mount_point_name_container_type |
typedef MountPointManager::mount_point_name_container_type diskCache::MountPointManagerSingleton::mount_point_name_container_type |
typedef MountPointManager::mount_point_names_ro_type diskCache::MountPointManagerSingleton::mount_point_names_ro_type |
typedef MountPointManager::mount_point_names_ro_type diskCache::MountPointManagerSingleton::mount_point_names_ro_type |
typedef MountPointManager::mount_point_names_ro_type diskCache::MountPointManagerSingleton::mount_point_names_ro_type |
|
privateinherited |
|
privateinherited |
|
privateinherited |
diskCache::MountPointManagerSingleton::DECLARE_READ_WRITE_SINGLETON | ( | MountPointManagerSingleton | ) |
diskCache::MountPointManagerSingleton::DECLARE_READ_WRITE_SINGLETON | ( | MountPointManagerSingleton | ) |
diskCache::MountPointManagerSingleton::DECLARE_READ_WRITE_SINGLETON | ( | MountPointManagerSingleton | ) |
|
inlineinherited |
Establish the cache of directories.
|
inherited |
Establish the cache of directories.
|
inherited |
Establish the cache of directories.
|
inlinestatic |
Locate files contained within the collection.
|
static |
Locate files contained within the collection.
|
static |
Locate files contained within the collection.
|
inherited |
Locate files contained within the collection.
|
inlineprivateinherited |
|
privateinherited |
|
privateinherited |
|
inlineprivateinherited |
|
privateinherited |
|
privateinherited |
|
inlinestatic |
Retrieve list of registered mount points.
|
static |
Retrieve list of registered mount points.
|
static |
Retrieve list of registered mount points.
|
inlineinherited |
Retrieve the names of the mount points.
|
inherited |
Handles writing of a single collection of mount points to a binary stream.
|
inherited |
Retrieve information from the stream.
[in] | Stream | Source of the new information. |
|
inlinestatic |
Dump information to the stream.
[in] | Stream | Sink for the information. |
|
static |
Dump information to the stream.
[in] | Stream | Sink for the information. |
|
static |
Dump information to the stream.
[in] | Stream | Sink for the information. |
|
inlinestatic |
Reset the requested information.
This allows for the purging of certain information so as to force a refreshing of the information.
[in] | Flag | This is an ORed flag indicating what should be cleaned |
|
static |
Reset the requested information.
This allows for the purging of certain information so as to force a refreshing of the information.
[in] | Flag | This is an ORed flag indicating what should be cleaned |
|
static |
Reset the requested information.
This allows for the purging of certain information so as to force a refreshing of the information.
[in] | Flag | This is an ORed flag indicating what should be cleaned |
|
inlinestatic |
Request the scanning of a single mount point.
[in] | MountPoint | The name of the mount point to scan. |
[out] | Results | Information gathered during the scan. |
|
static |
Request the scanning of a single mount point.
[in] | MountPoint | The name of the mount point to scan. |
[out] | Results | Information gathered during the scan. |
|
static |
Request the scanning of a single mount point.
[in] | MountPoint | The name of the mount point to scan. |
[out] | Results | Information gathered during the scan. |
|
inlinestatic |
Update the collection of managed mount points.
[in] | MountPoints | Ordered collection of mount points to be managed. |
[out] | Results | Results. |
|
static |
Update the collection of managed mount points.
[in] | MountPoints | Ordered collection of mount points to be managed. |
[out] | Results | Results. |
|
static |
Update the collection of managed mount points.
[in] | MountPoints | Ordered collection of mount points to be managed. |
[out] | Results | Results. |
|
inherited |
Dump information to the stream.
[in] | Stream | Sink for the information. |
|
inherited |
Handles writing of a single collection of mount points to a binary stream.
|
inherited |
Handles writing of a single collection of mount points to a binary stream.
|
inlinestatic |
Dump information to the stream.
[in] | Stream | Sink for the information. |
|
static |
Dump information to the stream.
[in] | Stream | Sink for the information. |
|
static |
Dump information to the stream.
[in] | Stream | Sink for the information. |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
mutableprivateinherited |
|
static |
Reset the cached information.
|
static |
Reset the cached information.
|
static |
Reset the cached information.
|
static |
Reset the lists of managed directories.
|
static |
Reset the lists of managed directories.
|
static |
Reset the lists of managed directories.