public class DirectoryUpdateMonitor extends Object
Constructor and Description |
---|
DirectoryUpdateMonitor(List<File> directories,
long pollFrequency,
boolean syncDeletes)
Creates a directory update monitor which, when started, will notify
on changes within the given directories.
|
Modifier and Type | Method and Description |
---|---|
void |
startMonitor()
Starts the monitor watching for updates.
|
void |
stopMonitor()
Stops the monitor, no further updates will be reported.
|
public DirectoryUpdateMonitor(List<File> directories, long pollFrequency, boolean syncDeletes)
directories
- to monitorpollFrequency
- how often the monitor should look for changesCopyright © 2009–2014 DuraSpace. All rights reserved.