ScheduledService

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](op: => Task[T]): ScheduledService[T]

Create a new scalafx.concurrent.ScheduledService with a operation to be invoked after this was started on the JavaFX Application Thread.

Create a new scalafx.concurrent.ScheduledService with a operation to be invoked after this was started on the JavaFX Application Thread.

Value Params
op

scala.Function that returns a scalafx.concurrent.Task to be invoked after this was started on the JavaFX Application Thread.

Concrete fields

val ExponentialBackoffStrategy: Callback[ScheduledService[_], Duration]

A Callback implementation for the backoffStrategy property which will exponentially backoff the period between re-executions in the case of a failure. This computation takes the original period and the number of consecutive failures and computes the backoff amount from that information.

A Callback implementation for the backoffStrategy property which will exponentially backoff the period between re-executions in the case of a failure. This computation takes the original period and the number of consecutive failures and computes the backoff amount from that information.

It delegates to JavaFX EXPONENTIAL_BACKOFF_STRATEGY

val LinearBackoffStrategy: Callback[ScheduledService[_], Duration]

A Callback implementation for the backoffStrategy property which will linearly backoff the period between re-executions in the case of a failure. This computation takes the original period and the number of consecutive failures and computes the backoff amount from that information.

A Callback implementation for the backoffStrategy property which will linearly backoff the period between re-executions in the case of a failure. This computation takes the original period and the number of consecutive failures and computes the backoff amount from that information.

It delegates to JavaFX LINEAR_BACKOFF_STRATEGY

val LogarithmicBackoffStrategy: Callback[ScheduledService[_], Duration]

A Callback implementation for the backoffStrategy property which will logarithmically backoff the period between re-executions in the case of a failure. This computation takes the original period and the number of consecutive failures and computes the backoff amount from that information.

A Callback implementation for the backoffStrategy property which will logarithmically backoff the period between re-executions in the case of a failure. This computation takes the original period and the number of consecutive failures and computes the backoff amount from that information.

It delegates to JavaFX LOGARITHMIC_BACKOFF_STRATEGY

Implicits

Implicits

implicit def sfxScheduledService2jfx[T](s: ScheduledService[T]): ScheduledService[T]