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 变量和类型 方法 描述 WatchKeyWatchService. poll()检索并删除下一个监视密钥,如果不存在,则检索并删除null。WatchKeyWatchService. poll(long timeout, TimeUnit unit)检索并删除下一个监视密钥,必要时等待指定的等待时间(如果还没有)。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()检索并删除下一个监视密钥,如果还没有,则等待。
-