Package | Description |
---|---|
javafx.concurrent |
Provides the set of classes for javafx.task.
|
Modifier and Type | Field and Description |
---|---|
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()
Computes the amount of time to add to the period on each failure.
|
Callback<ScheduledService<?>,Duration> |
ScheduledService.getBackoffStrategy()
Gets the value of the property backoffStrategy.
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduledService.setBackoffStrategy(Callback<ScheduledService<?>,Duration> value)
Sets the value of the property backoffStrategy.
|
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.