• This second example covers the exciting world of the new WatchService API and its associated classes.

    第二例子展示watchserviceAPI及其相关精彩世界

    youdao

  • Whether you hang onto this reference or not is up to you, because the WatchService returns the relevant WatchKey to you when an event is triggered.

    是否接到这个引用决定,因为触发事件后,WatchService会返回相关WatchKey

    youdao

  • Now that our Path is registered, we can check in with the WatchService at our convenience to see if any of the events we were interested in has occurred.

    现在注册了Path我们可以方便方式来检查WatchService是否发生了任何我们兴趣的事件

    youdao

  • When you're done with a particular WatchKey and the events it's registered for, you can cancel its registration with the WatchService simply by calling its cancel method.

    处理特定WatchKey及其所注册事件时,可以简单地通过调用cancel方法,来取消WatchService注册

    youdao

  • When you're done with a particular WatchKey and the events it's registered for, you can cancel its registration with the WatchService simply by calling its cancel method.

    处理特定WatchKey及其所注册事件时,可以简单地通过调用cancel方法,来取消WatchService注册

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定