Package org.eblocker.server.http.service
Class FileSystemWatchService
java.lang.Object
org.eblocker.server.http.service.FileSystemWatchService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwatch(java.nio.file.Path path, java.util.function.Consumer<java.nio.file.Path> callback, java.nio.file.WatchEvent.Modifier... modifier)
-
Constructor Details
-
FileSystemWatchService
@Inject public FileSystemWatchService(@Named("unlimitedCachePoolExecutor") Executor executor) throws IOException - Throws:
IOException
-
-
Method Details
-
watch
public void watch(java.nio.file.Path path, java.util.function.Consumer<java.nio.file.Path> callback, java.nio.file.WatchEvent.Modifier... modifier) throws IOException - Throws:
IOException
-