JdkAutoUpdater
ca.dvgi.periodic.jdk.JdkAutoUpdater
class JdkAutoUpdater[T](blockUntilReadyTimeout: Option[Duration], executorOverride: Option[ScheduledExecutorService]) extends AutoUpdater[Identity, Future, T]
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
- Graph
-
- Supertypes
Members list
In this article