Interface | Description |
---|---|
Worker<V> |
A Worker is an object which performs some work in one or more background
threads, and who's state is observable and available to JavaFX applications
and is usable from the main JavaFX Application thread.
|
Class | Description |
---|---|
ScheduledService<V> |
The ScheduledService is a
Service which 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 . |
WorkerStateEvent |
An event which occurs whenever the state changes on a Worker.
|
Enum | Description |
---|---|
Worker.State |
The state of a Worker.
|
Provides the set of classes for javafx.task.
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.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.