|
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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax public void ResetIndexAndStatistics()
Public Sub ResetIndexAndStatistics
public:
void ResetIndexAndStatistics()
member ResetIndexAndStatistics : unit -> unit
function ResetIndexAndStatistics();
View SourceRemarks
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