java.nio.file.WatchService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jtransc-rt Show documentation
Show all versions of jtransc-rt Show documentation
JVM AOT compiler currently generating JavaScript, C++, Haxe, with initial focus on Kotlin and games.
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;
}