| Constructor and Description |
|---|
FileMonitor(FsResourceProvider provider,
long interval,
FsMode fsMode,
ContentFileExtensions contentFileExtensions,
ContentFileCache contentFileCache,
FileStatCache fileStatCache)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
cancel, scheduledExecutionTimepublic FileMonitor(FsResourceProvider provider, long interval, FsMode fsMode, ContentFileExtensions contentFileExtensions, ContentFileCache contentFileCache, FileStatCache fileStatCache)
provider - The resource provider.interval - The interval between executions of the task, in milliseconds.fsMode - FS modecontentFileExtensions - Content file extensionscontentFileCache - Content file cachefileStatCache - Cache reducing file-stat lookups (file exists or not, directory vs file).public void run()
run in interface Runnablerun in class TimerTaskTimerTask.run()Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.