in src/main/java/org/apache/sling/fsprovider/internal/FileMonitor.java [66:83]
public FileMonitor(
final FsResourceProvider provider,
final File rootFile,
final long interval,
final ContentFileExtensions contentFileExtensions,
final ContentFileCache contentFileCache,
final FileStatCache fileStatCache) {
this.provider = provider;
this.contentFileExtensions = contentFileExtensions;
this.contentFileCache = contentFileCache;
this.fileStatCache = fileStatCache;
this.root = new Monitorable(this.provider.getProviderRoot(), rootFile, null);
createStatus(this.root, contentFileExtensions, contentFileCache);
log.debug("Starting file monitor for {} with an interval of {}ms", this.root.file, interval);
timer.schedule(this, 0, interval);
}