- Member anonymous_namespace{Directory.cc}::read_directory (const std::string &Path, const std::string &RootDirectory, directory_container_type &Children, ignored_type &IgnoredDirectories, Directory::index_container_type &OldData, DirectoryScanData &ScanData, const diskCache::Cache::StatInfo &Stat)
Check if entry should be excluded from the scan.
Check if any registered indexing scheme indexes this type of file and if so, what assumption does it make about the file type.
- Member anonymous_namespace{DirectoryManager.cc}::scan_functor::operator() (Directory::dirref_type Node) const
- All of this needs to be part of the node scanning to ensure proper and minimal locking of critical sections.
- Member anonymous_namespace{DumpCacheDaemon.cc}::DumpTask::operator() ()
- Generate a log entry describing the error that occurred.
- Member diskCache::Cache::Directory::m_subdirs
Optimization - The collection of subdirectory names should only contain the name relative to the current directory.
Optimization - The collection of subdirectory names should only contain the name relative to the current directory.
Optimization - The collection of subdirectory names should only contain the name relative to the current directory.
- Member diskCache::Cache::Directory::Read (IBinary &Stream)
- This can be optimized by reading the root followed by reading the path relative to the root. The current implementation is waistful as the root portion is in both names.
- Member diskCache::Cache::Directory::Write (OBinary &Stream) const
Loop over all of the associated indexes and have them dump their information to the Stream
This can be optimized by writing the root followed by Writing the path relative to the root. The current implementation is waistful as the root portion is in both names.
- Member diskCache::Cache::Directory::Write (OASCII &Stream) const
- Loop over all of the associated indexes and have them dump their information to the Stream NOTE: This currently only dumps the SDTx information
- Member diskCache::Cache::Registry::OnDirectoryClose (DirectoryScanData &Data)
- Associate the updated information with the cache
- Member diskCache::Cache::SDGTx::DirectoryInfo::Find (const Directory &Dir, QueryAnswer &Answer) const
- Do a regular expression comparison
- Member diskCache::Cache::SDGTx::DirectoryInfo::OverlappingFileError::format (const std::string &Filename)
- Need to add the directory name to the error message
- Member diskCache::Cache::SDGTx::Find (const Streams::Streamable &Source, const Directory &Dir, QueryAnswer &Answer)
- Need to catch appropriate exceptions
- Member diskCache::Cache::SDGTx::OnDirectoryClose (DirectoryScanData &Data)
Need to look at the old data to see if files existed in the previous version since they will need to be removed here.
Need to flag this data as overlapping with other data within this directory
Verify that file is unique under the mount point
- Member diskCache::Commands::getFrameFiles (diskCache::Cache::QueryAnswer &Answer, const char *Ifo, const char *Type, const INT_4U StartTime, const INT_4U StopTime, const std::string &Extension, const bool GapsAllowed)
- Need to handle is_first_scan_complete exception
- Member diskCache::Commands::getFrameFiles (diskCache::Cache::QueryAnswer &Answer, const char *Ifo, const char *Type, const unsigned int StartTime, const unsigned int StopTime, const std::string &Extension, const bool GapsAllowed)
Tcl formated string: {frame files} {errors if any}.
Tcl formated string: {frame files} {errors if any}.
Tcl formated string: {frame files} {errors if any}.
- Member diskCache::Common::Registry::Id (const std::string &Name) const
This needs to be locked to be thread safe. It only needs to be locked with a read lock since it only queries the information.
This needs to be locked to be thread safe. It only needs to be locked with a read lock since it only queries the information.
This needs to be locked to be thread safe. It only needs to be locked with a read lock since it only queries the information.
- Member diskCache::Common::Registry::Register (const Info &Key)
- Lock the registry because changes are going to happen
- Member diskCache::DumpCacheDaemon::operator() ()
- Need to keep track of this information within the MountPointScanner??
- Member diskCache::DumpCacheDaemon::Start ()
Need to setup the task thread to be returned to the pool once the task is complete.
Protect from multiple scanner daemons from running.
Protect from multiple scanner daemons from running.
Need to setup the task thread to be returned to the pool once the task is complete.
Protect from multiple scanner daemons from running.
Need to setup the task thread to be returned to the pool once the task is complete.
- Member diskCache::MetaCommand::Daemon::client
This needs to be made thread safe by having a separate one for each thread.
This needs to be made thread safe by having a separate one for each thread.
This needs to be made thread safe by having a separate one for each thread.
- Member diskCache::MetaCommand::Dump::evalStandalone ()
When the output is ascii, the query options should allow the user to request a subset of the entire cache.
When the output is binary, the query options should allow the user to request a subset of the entire cache.
- Member diskCache::MetaCommand::Scan::operator() ()
format results for output to stream diskCache::ASCII::Translate( &std::cout, results );
When the output is ascii, the query options should allow the user to request a subset of the entire cache.
When the output is binary, the query options should allow the user to request a subset of the entire cache.
- Member diskCache::MountPointManager::Read (Streams::IInterface &Stream)
- Place into the mount point list
- Member diskCache::MountPointScanner::OnCompletion (int TaskThreadState)
- Report scanning results
- Member diskCache::ScanMountPointsDaemon::operator() ()
- Need to format the results of scanning and then dump out either to the requested stream or use the logging mechanism.
- Member diskCache::ServerInterface::FilenamesRDS (filenames_rds_results_type &Results, const std::string &IFO, const std::string &Desc, time_type StartTime, time_type EndTime, bool Resampling, const std::string &Extension=DEFAULT_EXTENSION)
Need to return any remaining gap information
Need to return any remaining gap information
Need to return any remaining gap information
- Member diskCache::Streams::IBinary::m_readers
Need to make this thread safe
Need to make this thread safe
Need to make this thread safe
- Member diskCache::Streams::IBinary::operator>> (std::string &Data)
Protect against buffer overrun
Protect against buffer overrun
Protect against buffer overrun
- Member diskCache::Streams::OASCII::m_writers
Need to make this thread safe
Need to make this thread safe
Need to make this thread safe
- Member diskCache::Streams::OBinary::m_writers
Need to make this thread safe
Need to make this thread safe
Need to make this thread safe
- Member diskCache::Variables::Config_::ParseKeyValue (const std::string &Key, const std::string &Value)
- Need to produce an exception regarding parse error in configuration file as a key/value pair was encountered where a word value was expected.
- Member diskCache::Variables::Config_::ParseWord (const std::string &Value)
- Have Variables::Config_::ParseWord throw exception if it reaches an unreachable state.
- Member getHashNumbers (diskCache::Cache::QueryAnswer &Answer, const char *Ifo="all", const char *Type="all")
- Need to get getHashNumber queries working
- Member ScanMountPointList (diskCache::MountPointScanner::ScanResults &Answer)
- Complete the population of the status message
- Class SDGTx_RegEx
Use of this regular expression needs to be protected by locks.
The Regex class needs to be extened to support a reset option so the regular expression may be modified if the list of file extensions is modified.