![JAR search and dependency download from the Maven repository](/logo.png)
java.nio.file.WatchService Maven / Gradle / Ivy
package java.nio.file;
import java.io.Closeable;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
public interface WatchService extends Closeable {
void close() throws IOException;
WatchKey poll();
WatchKey poll(long timeout, TimeUnit unit) throws InterruptedException;
WatchKey take() throws InterruptedException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy