Spec-Zone.ru › OpenJavaFX 24

Package javafx.concurrent

package javafx.concurrent

Provides the set of classes for javafx.concurrent.

This package provides the ability to run application code on threads other than the JavaFX event dispatch thread. The ability to control the execution and track the progress of the application code is also provided.

Class Description
ScheduledService<V>
The ScheduledService is a Service that will automatically restart itself after a successful execution, and under some conditions will restart even in case of failure.
Service<V>
A Service is a non-visual component encapsulating the information required to perform some work on one or more background threads.
Task<V>
A fully observable implementation of a FutureTask.
Worker<V>
A Worker is an object which performs some work in one or more background threads, and whose state is observable and available to JavaFX applications and is usable from the main JavaFX Application thread.
Worker.State
The state of a Worker.
WorkerStateEvent
An event which occurs whenever the state changes on a Worker.

Report a bug or suggest an enhancement
Copyright © 2008, 2025, Oracle and/or its affiliates. All rights reserved.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API