Package | Description |
---|---|
javafx.concurrent |
Provides the set of classes for javafx.task.
|
Modifier and Type | Field and Description |
---|---|
private ObjectProperty<Callback<ScheduledService<?>,Duration>> |
ScheduledService.backoffStrategy
Computes the amount of time to add to the period on each failure.
|
static Callback<ScheduledService<?>,Duration> |
ScheduledService.EXPONENTIAL_BACKOFF_STRATEGY
A Callback implementation for the
backoffStrategy property which
will exponentially backoff the period between re-executions in the case of
a failure. |
static Callback<ScheduledService<?>,Duration> |
ScheduledService.LINEAR_BACKOFF_STRATEGY
A Callback implementation for the
backoffStrategy property which
will linearly backoff the period between re-executions in the case of
a failure. |
static Callback<ScheduledService<?>,Duration> |
ScheduledService.LOGARITHMIC_BACKOFF_STRATEGY
A Callback implementation for the
backoffStrategy property which
will logarithmically backoff the period between re-executions in the case of
a failure. |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<Callback<ScheduledService<?>,Duration>> |
ScheduledService.backoffStrategyProperty() |
Callback<ScheduledService<?>,Duration> |
ScheduledService.getBackoffStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledService.setBackoffStrategy(Callback<ScheduledService<?>,Duration> value) |