|
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.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
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