|
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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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