- call() - Method in class javafx.concurrent.Task
-
Invoked when the Task is executed, the call method must be overridden and
implemented by subclasses.
- call() - Method in class javafx.concurrent.Task.TaskCallable
-
Invoked by the system when it is time to run the client code.
- cancel() - Method in class javafx.concurrent.ScheduledService
-
Cancels any currently running task and stops this scheduled service, such that
no additional iterations will occur.
- cancel() - Method in class javafx.concurrent.Service
-
Cancels any currently running Task, if any.
- cancel() - Method in class javafx.concurrent.Task
-
- cancel(boolean) - Method in class javafx.concurrent.Task
-
- cancel() - Method in interface javafx.concurrent.Worker
-
Terminates execution of this Worker.
- cancelFromReadyState() - Method in class javafx.concurrent.Service
-
This is used by ScheduledService to cancel a Service that is in the READY state.
- cancelled() - Method in class javafx.concurrent.Service
-
A protected convenience method for subclasses, called whenever the
state of the Service has transitioned to the CANCELLED state.
- cancelled() - Method in class javafx.concurrent.Task
-
A protected convenience method for subclasses, called whenever the
state of the Task has transitioned to the CANCELLED state.
- checkThread() - Method in class javafx.concurrent.Service
-
- checkThread() - Method in class javafx.concurrent.Task
-
- clock() - Method in class javafx.concurrent.ScheduledService
-
Gets the time of the current clock.
- createTask() - Method in class javafx.concurrent.Service
-
Invoked after the Service is started on the JavaFX Application Thread.
- createTimerTask(Task<V>) - Method in class javafx.concurrent.ScheduledService
-
Creates the TimerTask used for delaying execution.
- cumulativePeriod - Variable in class javafx.concurrent.ScheduledService
-
The current cumulative period in use between iterations.
- cumulativePeriodProperty() - Method in class javafx.concurrent.ScheduledService
-
The current cumulative period in use between iterations.
- currentFailureCount - Variable in class javafx.concurrent.ScheduledService
-
The current number of times the ScheduledService has failed.
- currentFailureCountProperty() - Method in class javafx.concurrent.ScheduledService
-
The current number of times the ScheduledService has failed.
- getBackoffStrategy() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property backoffStrategy.
- getCumulativePeriod() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property cumulativePeriod.
- getCurrentFailureCount() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property currentFailureCount.
- getDelay() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property delay.
- getEventHelper() - Method in class javafx.concurrent.Service
-
- getEventHelper() - Method in class javafx.concurrent.Task
-
- getException() - Method in class javafx.concurrent.Service
-
Gets the value of the property exception.
- getException() - Method in class javafx.concurrent.Task
-
Gets the value of the property exception.
- getException() - Method in interface javafx.concurrent.Worker
-
Indicates the exception which occurred while the Worker was running, if any.
- getExecutor() - Method in class javafx.concurrent.Service
-
Gets the value of the property executor.
- getInternalEventDispatcher() - Method in class javafx.concurrent.EventHelper
-
- getLastValue() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property lastValue.
- getMaximumCumulativePeriod() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property maximumCumulativePeriod.
- getMaximumFailureCount() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property maximumFailureCount.
- getMessage() - Method in class javafx.concurrent.Service
-
Gets the value of the property message.
- getMessage() - Method in class javafx.concurrent.Task
-
Gets the value of the property message.
- getMessage() - Method in interface javafx.concurrent.Worker
-
Gets a message associated with the current state of this Worker.
- getOnCancelled() - Method in class javafx.concurrent.EventHelper
-
- getOnCancelled() - Method in class javafx.concurrent.Service
-
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
- getOnCancelled() - Method in class javafx.concurrent.Task
-
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
- getOnFailed() - Method in class javafx.concurrent.EventHelper
-
- getOnFailed() - Method in class javafx.concurrent.Service
-
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
- getOnFailed() - Method in class javafx.concurrent.Task
-
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
- getOnReady() - Method in class javafx.concurrent.EventHelper
-
- getOnReady() - Method in class javafx.concurrent.Service
-
The onReady event handler is called whenever the Task state transitions
to the READY state.
- getOnRunning() - Method in class javafx.concurrent.EventHelper
-
- getOnRunning() - Method in class javafx.concurrent.Service
-
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
- getOnRunning() - Method in class javafx.concurrent.Task
-
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
- getOnScheduled() - Method in class javafx.concurrent.EventHelper
-
- getOnScheduled() - Method in class javafx.concurrent.Service
-
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
- getOnScheduled() - Method in class javafx.concurrent.Task
-
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
- getOnSucceeded() - Method in class javafx.concurrent.EventHelper
-
- getOnSucceeded() - Method in class javafx.concurrent.Service
-
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
- getOnSucceeded() - Method in class javafx.concurrent.Task
-
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
- getPeriod() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property period.
- getProgress() - Method in class javafx.concurrent.Service
-
Gets the value of the property progress.
- getProgress() - Method in class javafx.concurrent.Task
-
Gets the value of the property progress.
- getProgress() - Method in interface javafx.concurrent.Worker
-
Indicates the current progress of this Worker in terms of percent complete.
- getRestartOnFailure() - Method in class javafx.concurrent.ScheduledService
-
Gets the value of the property restartOnFailure.
- getSource() - Method in class javafx.concurrent.WorkerStateEvent
-
The Worker on which the Event initially occurred.
- getState() - Method in class javafx.concurrent.Service
-
Gets the value of the property state.
- getState() - Method in class javafx.concurrent.Task
-
Gets the value of the property state.
- getState() - Method in interface javafx.concurrent.Worker
-
Specifies the current state of this Worker.
- getTitle() - Method in class javafx.concurrent.Service
-
Gets the value of the property title.
- getTitle() - Method in class javafx.concurrent.Task
-
Gets the value of the property title.
- getTitle() - Method in interface javafx.concurrent.Worker
-
An optional title that should be associated with this Worker.
- getTotalWork() - Method in class javafx.concurrent.Service
-
Gets the value of the property totalWork.
- getTotalWork() - Method in class javafx.concurrent.Task
-
Gets the value of the property totalWork.
- getTotalWork() - Method in interface javafx.concurrent.Worker
-
- getValue() - Method in class javafx.concurrent.Service
-
Gets the value of the property value.
- getValue() - Method in class javafx.concurrent.Task
-
Gets the value of the property value.
- getValue() - Method in interface javafx.concurrent.Worker
-
Specifies the value, or result, of this Worker.
- getWorkDone() - Method in class javafx.concurrent.Service
-
Gets the value of the property workDone.
- getWorkDone() - Method in class javafx.concurrent.Task
-
Gets the value of the property workDone.
- getWorkDone() - Method in interface javafx.concurrent.Worker
-
Indicates the current amount of work that has been completed.
- onCancelled - Variable in class javafx.concurrent.EventHelper
-
- onCancelledProperty() - Method in class javafx.concurrent.EventHelper
-
- onCancelledProperty() - Method in class javafx.concurrent.Service
-
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
- onCancelledProperty() - Method in class javafx.concurrent.Task
-
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
- onFailed - Variable in class javafx.concurrent.EventHelper
-
- onFailedProperty() - Method in class javafx.concurrent.EventHelper
-
- onFailedProperty() - Method in class javafx.concurrent.Service
-
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
- onFailedProperty() - Method in class javafx.concurrent.Task
-
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
- onReady - Variable in class javafx.concurrent.EventHelper
-
- onReadyProperty() - Method in class javafx.concurrent.EventHelper
-
- onReadyProperty() - Method in class javafx.concurrent.Service
-
The onReady event handler is called whenever the Task state transitions
to the READY state.
- onRunning - Variable in class javafx.concurrent.EventHelper
-
- onRunningProperty() - Method in class javafx.concurrent.EventHelper
-
- onRunningProperty() - Method in class javafx.concurrent.Service
-
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
- onRunningProperty() - Method in class javafx.concurrent.Task
-
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
- onScheduled - Variable in class javafx.concurrent.EventHelper
-
- onScheduledProperty() - Method in class javafx.concurrent.EventHelper
-
- onScheduledProperty() - Method in class javafx.concurrent.Service
-
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
- onScheduledProperty() - Method in class javafx.concurrent.Task
-
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
- onSucceeded - Variable in class javafx.concurrent.EventHelper
-
- onSucceededProperty() - Method in class javafx.concurrent.EventHelper
-
- onSucceededProperty() - Method in class javafx.concurrent.Service
-
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
- onSucceededProperty() - Method in class javafx.concurrent.Task
-
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
- ready() - Method in class javafx.concurrent.Service
-
A protected convenience method for subclasses, called whenever the
state of the Service has transitioned to the READY state.
- removeEventFilter(<any>, <any>) - Method in class javafx.concurrent.EventHelper
-
Unregisters a previously registered event filter from this task.
- removeEventFilter(<any>, <any>) - Method in class javafx.concurrent.Service
-
Unregisters a previously registered event filter from this task.
- removeEventFilter(<any>, <any>) - Method in class javafx.concurrent.Task
-
Unregisters a previously registered event filter from this task.
- removeEventHandler(<any>, <any>) - Method in class javafx.concurrent.EventHelper
-
Unregisters a previously registered event handler from this task.
- removeEventHandler(<any>, <any>) - Method in class javafx.concurrent.Service
-
Unregisters a previously registered event handler from this task.
- removeEventHandler(<any>, <any>) - Method in class javafx.concurrent.Task
-
Unregisters a previously registered event handler from this task.
- reset() - Method in class javafx.concurrent.ScheduledService
-
Resets the Service.
- reset() - Method in class javafx.concurrent.Service
-
Resets the Service.
- restart() - Method in class javafx.concurrent.Service
-
Cancels any currently running Task, if any, and restarts this Service.
- restartOnFailure - Variable in class javafx.concurrent.ScheduledService
-
Indicates whether the ScheduledService should automatically restart in the case of a failure in the Task.
- restartOnFailureProperty() - Method in class javafx.concurrent.ScheduledService
-
Indicates whether the ScheduledService should automatically restart in the case of a failure in the Task.
- runLater(Runnable) - Method in class javafx.concurrent.Service
-
- runLater(Runnable) - Method in class javafx.concurrent.Task
-
- running - Variable in class javafx.concurrent.Service
-
- running() - Method in class javafx.concurrent.Service
-
A protected convenience method for subclasses, called whenever the
state of the Service has transitioned to the RUNNING state.
- running - Variable in class javafx.concurrent.Task
-
- running() - Method in class javafx.concurrent.Task
-
A protected convenience method for subclasses, called whenever the
state of the Task has transitioned to the RUNNING state.
- runningProperty() - Method in class javafx.concurrent.Service
-
- runningProperty() - Method in class javafx.concurrent.Task
-
- runningProperty() - Method in interface javafx.concurrent.Worker
-
Gets the ReadOnlyBooleanProperty representing whether the Worker is running.
- schedule(TimerTask, long) - Method in class javafx.concurrent.ScheduledService
-
This method exists only for testing purposes.
- scheduled() - Method in class javafx.concurrent.Service
-
A protected convenience method for subclasses, called whenever the
state of the Service has transitioned to the SCHEDULED state.
- scheduled() - Method in class javafx.concurrent.Task
-
A protected convenience method for subclasses, called whenever the
state of the Task has transitioned to the SCHEDULED state.
- ScheduledService<V> - Class in javafx.concurrent
-
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.
- ScheduledService() - Constructor for class javafx.concurrent.ScheduledService
-
- Service<V> - Class in javafx.concurrent
-
A Service is a non-visual component encapsulating the information required
to perform some work on one or more background threads.
- Service() - Constructor for class javafx.concurrent.Service
-
Create a new Service.
- setBackoffStrategy(<any>) - Method in class javafx.concurrent.ScheduledService
-
Sets the value of the property backoffStrategy.
- setCumulativePeriod(Duration) - Method in class javafx.concurrent.ScheduledService
-
- setCurrentFailureCount(int) - Method in class javafx.concurrent.ScheduledService
-
- setDelay(Duration) - Method in class javafx.concurrent.ScheduledService
-
Sets the value of the property delay.
- setEventHandler(<any>, <any>) - Method in class javafx.concurrent.EventHelper
-
Sets the handler to use for this event type.
- setEventHandler(<any>, <any>) - Method in class javafx.concurrent.Service
-
Sets the handler to use for this event type.
- setEventHandler(<any>, <any>) - Method in class javafx.concurrent.Task
-
Sets the handler to use for this event type.
- setExecutor(Executor) - Method in class javafx.concurrent.Service
-
Sets the value of the property executor.
- setMaximumCumulativePeriod(Duration) - Method in class javafx.concurrent.ScheduledService
-
Sets the value of the property maximumCumulativePeriod.
- setMaximumFailureCount(int) - Method in class javafx.concurrent.ScheduledService
-
Sets the value of the property maximumFailureCount.
- setOnCancelled(<any>) - Method in class javafx.concurrent.EventHelper
-
- setOnCancelled(<any>) - Method in class javafx.concurrent.Service
-
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
- setOnCancelled(<any>) - Method in class javafx.concurrent.Task
-
The onCancelled event handler is called whenever the Task state
transitions to the CANCELLED state.
- setOnFailed(<any>) - Method in class javafx.concurrent.EventHelper
-
- setOnFailed(<any>) - Method in class javafx.concurrent.Service
-
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
- setOnFailed(<any>) - Method in class javafx.concurrent.Task
-
The onFailed event handler is called whenever the Task state
transitions to the FAILED state.
- setOnReady(<any>) - Method in class javafx.concurrent.EventHelper
-
- setOnReady(<any>) - Method in class javafx.concurrent.Service
-
The onReady event handler is called whenever the Task state transitions
to the READY state.
- setOnRunning(<any>) - Method in class javafx.concurrent.EventHelper
-
- setOnRunning(<any>) - Method in class javafx.concurrent.Service
-
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
- setOnRunning(<any>) - Method in class javafx.concurrent.Task
-
The onRunning event handler is called whenever the Task state
transitions to the RUNNING state.
- setOnScheduled(<any>) - Method in class javafx.concurrent.EventHelper
-
- setOnScheduled(<any>) - Method in class javafx.concurrent.Service
-
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
- setOnScheduled(<any>) - Method in class javafx.concurrent.Task
-
The onSchedule event handler is called whenever the Task state
transitions to the SCHEDULED state.
- setOnSucceeded(<any>) - Method in class javafx.concurrent.EventHelper
-
- setOnSucceeded(<any>) - Method in class javafx.concurrent.Service
-
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
- setOnSucceeded(<any>) - Method in class javafx.concurrent.Task
-
The onSucceeded event handler is called whenever the Task state
transitions to the SUCCEEDED state.
- setPeriod(Duration) - Method in class javafx.concurrent.ScheduledService
-
Sets the value of the property period.
- setProgress(double) - Method in class javafx.concurrent.Task
-
- setRestartOnFailure(boolean) - Method in class javafx.concurrent.ScheduledService
-
Sets the value of the property restartOnFailure.
- setRunning(boolean) - Method in class javafx.concurrent.Task
-
- setState(Worker.State) - Method in class javafx.concurrent.Task
-
- setTotalWork(double) - Method in class javafx.concurrent.Task
-
- setValue(V) - Method in class javafx.concurrent.Task
-
- setWorkDone(double) - Method in class javafx.concurrent.Task
-
- start() - Method in class javafx.concurrent.Service
-
Starts this Service.
- started - Variable in class javafx.concurrent.Task
-
This is used so we have a thread-safe way to ask whether the task was
started in the checkThread() method.
- startedOnce - Variable in class javafx.concurrent.Service
-
This boolean is set to true once the Service has been initially started.
- state - Variable in class javafx.concurrent.Service
-
- state - Variable in class javafx.concurrent.Task
-
- State() - Constructor for enum javafx.concurrent.Worker.State
-
- stateProperty() - Method in class javafx.concurrent.Service
-
- stateProperty() - Method in class javafx.concurrent.Task
-
- stateProperty() - Method in interface javafx.concurrent.Worker
-
Gets the ReadOnlyObjectProperty representing the current state.
- stop - Variable in class javafx.concurrent.ScheduledService
-
This is set to false when the "cancel" method is called, and reset to true on "reset".
- succeeded() - Method in class javafx.concurrent.ScheduledService
-
A protected convenience method for subclasses, called whenever the
state of the Service has transitioned to the SUCCEEDED state.
- succeeded() - Method in class javafx.concurrent.Service
-
A protected convenience method for subclasses, called whenever the
state of the Service has transitioned to the SUCCEEDED state.
- succeeded() - Method in class javafx.concurrent.Task
-
A protected convenience method for subclasses, called whenever the
state of the Task has transitioned to the SUCCEEDED state.
- superReset() - Method in class javafx.concurrent.ScheduledService
-
Called by this class when we need to avoid calling this class' implementation of
reset which has the side effect of resetting the "freshStart", currentFailureCount,
and other state.