ScheduledService

scalafx.concurrent.ScheduledService
See theScheduledService companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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 parameters

op

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Implicits

Implicits

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