|
FileProcessor.ResetIndexAndStatistics Method
|
Resets the internal file index so all files can be reprocessed.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
Syntaxpublic void ResetIndexAndStatistics()
Public Sub ResetIndexAndStatistics
public:
void ResetIndexAndStatistics()
member ResetIndexAndStatistics : unit -> unit
function ResetIndexAndStatistics();
View Source
Remarks
As an optimization, the internal file index allows the file processor to enumerate
the folder without raising events for files that were already processed, enabling
the file processor to process files that were missed by the file watcher. However,
because of this optimization, it can instead be difficult to force the file processor
to reprocess files it has already processed once before. This method clears the
internal file index, allowing for reprocessing of files that have already been processed.
See Also