ca.dvgi.periodic.jdk
package ca.dvgi.periodic.jdk
Members list
Type members
Classlikes
class JdkAutoUpdater[T](blockUntilReadyTimeout: Option[Duration], executorOverride: Option[ScheduledExecutorService]) extends AutoUpdater[Identity, Future, T]
An AutoUpdater based on the JDK's ScheduledExecutorService.
An AutoUpdater based on the JDK's ScheduledExecutorService.
By default, a JdkAutoUpdater starts a new thread to handle its updates. If you are running many JdkAutoUpdaters, you may want to consider providing a shared ScheduledExecutorService to them.
Value parameters
- blockUntilReadyTimeout
-
If specified, will block the calling AutoUpdatingVar instantiation until it succeeds, fails, or the timeout is reached.
- executorOverride
-
If present, will be used instead of starting a new thread.
Attributes
- Supertypes
Types
In this article