Class Startup
java.lang.Object
ch.raffael.meldioc.library.base.lifecycle.Startup
public class Startup
extends java.lang.Object
TODO JavaDoc
-
Field Summary
Fields Modifier and Type Field Description java.util.concurrent.ExecutorexecutorShutdownController.ActuatorshutdownActuatorio.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable>startupActions -
Constructor Summary
Constructors Constructor Description Startup(io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions, java.util.concurrent.Executor executor, ShutdownController.Actuator shutdownActuator) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
startupActions
public final io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions -
executor
public final java.util.concurrent.Executor executor -
shutdownActuator
-
-
Constructor Details
-
Startup
public Startup(io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions, java.util.concurrent.Executor executor, ShutdownController.Actuator shutdownActuator)
-
-
Method Details
-
start
public io.vavr.collection.Seq<java.lang.Throwable> start() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
start
public io.vavr.collection.Seq<java.lang.Throwable> start(long timeoutSeconds) throws java.util.concurrent.TimeoutException, java.lang.InterruptedException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedException
-
start
public io.vavr.collection.Seq<java.lang.Throwable> start(long timeout, java.util.concurrent.TimeUnit timeoutUnit) throws java.util.concurrent.TimeoutException, java.lang.InterruptedException- Throws:
java.util.concurrent.TimeoutExceptionjava.lang.InterruptedException
-