Top Description Interfaces Classes
module javafx.graphics

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.

Interface Summary

Modifier and TypeInterface and Description
public interface
Worker<
the worker resulting value type
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.

Class Summary

Modifier and TypeClass and Description
pack-priv class
EventHelper

This utility class is used both to bucketize the event handler related methods and state in Service and Task, but also (and more importantly) to consolidate the implementation into one place.

public abstract class
ScheduledService<
The computed value of the 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.

public abstract class
Service<
the type of object returned by the Service
V
>

A Service is a non-visual component encapsulating the information required to perform some work on one or more background threads.

public abstract class
Task<
The result type returned by this Task's getValue method
V
>

A fully observable implementation of a FutureTask.

public class
WorkerStateEvent

An event which occurs whenever the state changes on a Worker.