ca.dvgi.periodic.AutoUpdatingVar
See theAutoUpdatingVar companion class
object AutoUpdatingVar
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AutoUpdatingVar.type
Members list
Value members
Concrete methods
def apply[U[_], R[_], T](periodic: Periodic[U, R])(updateVar: => U[T], updateInterval: UpdateInterval[T], updateAttemptStrategy: AttemptStrategy, blockUntilReadyTimeout: Option[Duration], handleInitializationError: PartialFunction[Throwable, U[T]], updateExistingVar: Option[T => U[T]], varNameOverride: Option[String])(implicit ct: ClassTag[T]): AutoUpdatingVar[U, R, T]
Attributes
- See also
def jdk[T](updateVar: => T, updateInterval: UpdateInterval[T], updateAttemptStrategy: AttemptStrategy, blockUntilReadyTimeout: Option[Duration], handleInitializationError: PartialFunction[Throwable, T], updateExistingVar: Option[T => T], varNameOverride: Option[String], executorOverride: Option[ScheduledExecutorService])(implicit ct: ClassTag[T]): AutoUpdatingVar[Identity, Future, T]
An AutoUpdatingVar based on only the JDK.
An AutoUpdatingVar based on only the JDK.
Attributes
- See also
def jdkFuture[T](updateVar: => Future[T], updateInterval: UpdateInterval[T], updateAttemptStrategy: AttemptStrategy, blockUntilReadyTimeout: Option[Duration], handleInitializationError: PartialFunction[Throwable, Future[T]], updateExistingVar: Option[T => Future[T]], varNameOverride: Option[String], executorOverride: Option[ScheduledExecutorService])(implicit ct: ClassTag[T]): AutoUpdatingVar[Future, Future, T]
An AutoUpdatingVar based on only the JDK, for use when updateVar
returns a Future
.
An AutoUpdatingVar based on only the JDK, for use when updateVar
returns a Future
.
Attributes
- See also
In this article