|
FileProcessorResetIndexAndStatistics 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+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
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