Uses of Interface
java.nio.file.WatchKey
-
Packages that use WatchKey 软件包 描述 java.nio.file 定义Java虚拟机访问文件,文件属性和文件系统的接口和类。 -
-
Uses of WatchKey in java.nio.file
Methods in java.nio.file that return WatchKey Modifier and Type 方法 描述 WatchKeyWatchService. poll()检索并删除下一个watch键,如果没有,则null。WatchKeyWatchService. poll(long timeout, TimeUnit unit)检索并删除下一个watch键,如果还没有,则等待必要时直到指定的等待时间。default WatchKeyPath. register(WatchService watcher, WatchEvent.Kind<?>... events)使用手表服务注册此路径所在的文件。WatchKeyPath. register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)使用手表服务注册此路径所在的文件。WatchKeyWatchable. register(WatchService watcher, WatchEvent.Kind<?>... events)用手表服务注册一个对象。WatchKeyWatchable. register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)用手表服务注册一个对象。WatchKeyWatchService. take()检索并删除下一个Watch键,等待是否还没有。
-