java中文在线API

时光怂恿深爱的人放手 提交于 2020-09-29 13:41:35
Module    javafx.graphics

Package javafx.concurrent

提供javafx.task的一组类。

该包提供了在JavaFX事件分派线程之外的线程上运行应用程序代码的功能。 还提供了控制执行和跟踪应用程序代码进度的能力。

  • 接口摘要
    接口 描述
    Worker<V>
    工作者是在一个或多个后台线程中执行某些工作的对象,其状态是可观察的并且可用于JavaFX应用程序,并且可从主JavaFX应用程序线程中使用。
  • 类摘要
    Class 描述
    ScheduledService<V>
    ScheduledService是一个Service ,它将在成功执行后自动重新启动,并且在某些情况下即使发生故障也将重新启动。
    Service<V>
    服务是一个非可视化组件,封装了在一个或多个后台线程上执行某些工作所需的信息。
    Task<V>
    一个完全可观察到的一个FutureTask实现。
    WorkerStateEvent
    当一个工人状态发生变化时发生的事件。
  • 枚举摘要
    Enum 描述
    Worker.State
    The state of a Worker.
 
Java SE 9 & JDK 9

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

本帮助文档是使用   《谷歌翻译》翻译,请与英文版配合使用 by-- 攀博学院www.pbteach.com
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!