ldas-tools-ldasgen
2.7.1
|
Monitors a list of directories. More...
#include <MountPointStatus.hh>
Public Types | |
typedef std::list< std::string > | mount_point_list_type |
Container for a set of mount points. More... | |
typedef std::list< std::string > | mount_point_list_type |
Container for a set of mount points. More... | |
typedef std::list< std::string > | mount_point_list_type |
Container for a set of mount points. More... | |
Static Public Member Functions | |
static bool | Initialize () |
Initialize the class. More... | |
static void | Add (const mount_point_list_type &MountPoint) |
Adds directories to set of managed directories. More... | |
static bool | IsDirManaged (const std::string &Dir) |
Checks if directory is being managed. More... | |
static void | Remove (const mount_point_list_type &MountPoint) |
Removes directories from the set of managed directories. More... | |
static void | Set (const mount_point_list_type &MountPoint) |
Resets the set of directories to be managed. More... | |
static void | Set (const std::vector< std::string > &MountPoint) |
Resets the set of directories to be managed. More... | |
static state_type | Status (const std::string &Path) |
Returns the on-line status of the file system. More... | |
static bool | Initialize () |
Initialize the class. More... | |
static void | Add (const mount_point_list_type &MountPoint) |
Adds directories to set of managed directories. More... | |
static bool | IsDirManaged (const std::string &Dir) |
Checks if directory is being managed. More... | |
static void | Remove (const mount_point_list_type &MountPoint) |
Removes directories from the set of managed directories. More... | |
static void | Set (const mount_point_list_type &MountPoint) |
Resets the set of directories to be managed. More... | |
static void | Set (const std::vector< std::string > &MountPoint) |
Resets the set of directories to be managed. More... | |
static state_type | Status (const std::string &Path) |
Returns the on-line status of the file system. More... | |
static bool | Initialize () |
Initialize the class. More... | |
static void | Add (const mount_point_list_type &MountPoint) |
Adds directories to set of managed directories. More... | |
static bool | IsDirManaged (const std::string &Dir) |
Checks if directory is being managed. More... | |
static void | Remove (const mount_point_list_type &MountPoint) |
Removes directories from the set of managed directories. More... | |
static void | Set (const mount_point_list_type &MountPoint) |
Resets the set of directories to be managed. More... | |
static void | Set (const std::vector< std::string > &MountPoint) |
Resets the set of directories to be managed. More... | |
static state_type | Status (const std::string &Path) |
Returns the on-line status of the file system. More... | |
Monitors a list of directories.
The main focus of this class is to provide methods which maintain information about a group of directories.
typedef std::list< std::string > GenericAPI::MountPointStatus::mount_point_list_type |
Container for a set of mount points.
This type is used by several routines to pass a set of directories on which to operate.
typedef std::list< std::string > GenericAPI::MountPointStatus::mount_point_list_type |
Container for a set of mount points.
This type is used by several routines to pass a set of directories on which to operate.
typedef std::list< std::string > GenericAPI::MountPointStatus::mount_point_list_type |
Container for a set of mount points.
This type is used by several routines to pass a set of directories on which to operate.
|
static |
Adds directories to set of managed directories.
[in] | MountPoint | A group of directories to be added. |
This method adds new mount points to the list managed mount points. It is careful to check to see if any of the entries in MountPoints are already being managed and only adds the entries from MountPoints which are not currently being managed.
|
static |
Adds directories to set of managed directories.
[in] | MountPoint | A group of directories to be added. |
|
static |
Adds directories to set of managed directories.
[in] | MountPoint | A group of directories to be added. |
|
static |
Initialize the class.
|
static |
Initialize the class.
|
static |
Initialize the class.
|
static |
Checks if directory is being managed.
[in] | Dir | The name of a file or directory on the file system |
|
static |
Checks if directory is being managed.
[in] | Dir | The name of a file or directory on the file system |
|
static |
Checks if directory is being managed.
[in] | Dir | The name of a file or directory on the file system |
Verifies that Dir exists as an element of the set of currently managed directories. If their is an exact match, then true is returned, false otherwise.
|
static |
Removes directories from the set of managed directories.
[in] | MountPoint | A group of directories to be removed. |
|
static |
Removes directories from the set of managed directories.
[in] | MountPoint | A group of directories to be removed. |
|
static |
Removes directories from the set of managed directories.
[in] | MountPoint | A group of directories to be removed. |
|
static |
Resets the set of directories to be managed.
[in] | MountPoint | A group of directories to be managed. |
|
static |
Resets the set of directories to be managed.
[in] | MountPoint | A group of directories to be managed. |
|
static |
Resets the set of directories to be managed.
[in] | MountPoint | A group of directories to be managed. |
|
static |
Resets the set of directories to be managed.
[in] | MountPoint | A group of directories to be managed. |
|
inlinestatic |
Resets the set of directories to be managed.
[in] | MountPoint | A group of directories to be managed. |
|
static |
Resets the set of directories to be managed.
[in] | MountPoint | A group of directories to be managed. |
|
static |
Returns the on-line status of the file system.
[in] | Path | The Path to a file or directory on the file system for which the on-line status is being queried. |
|
static |
Returns the on-line status of the file system.
[in] | Path | The Path to a file or directory on the file system for which the on-line status is being queried. |
|
static |
Returns the on-line status of the file system.
[in] | Path | The Path to a file or directory on the file system for which the on-line status is being queried. |