Package org.apereo.cas.util.io
Class FileWatcherService
- java.lang.Object
-
- org.apereo.cas.util.io.PathWatcherService
-
- org.apereo.cas.util.io.FileWatcherService
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Runnable,WatcherService,org.springframework.beans.factory.DisposableBean
public class FileWatcherService extends PathWatcherService
This isFileWatcherService.- Since:
- 5.2.0
-
-
Constructor Summary
Constructors Constructor Description FileWatcherService(java.io.File watchableFile, java.util.function.Consumer<java.io.File> onModify)FileWatcherService(java.io.File watchableFile, java.util.function.Consumer<java.io.File> onCreate, java.util.function.Consumer<java.io.File> onModify, java.util.function.Consumer<java.io.File> onDelete)
-
Method Summary
-
Methods inherited from class org.apereo.cas.util.io.PathWatcherService
close, destroy, run, start
-
-
-
-
Constructor Detail
-
FileWatcherService
public FileWatcherService(java.io.File watchableFile, java.util.function.Consumer<java.io.File> onCreate, java.util.function.Consumer<java.io.File> onModify, java.util.function.Consumer<java.io.File> onDelete)
-
FileWatcherService
public FileWatcherService(java.io.File watchableFile, java.util.function.Consumer<java.io.File> onModify)
-
-