Class Startup
java.lang.Object
ch.raffael.meldioc.library.base.lifecycle.Startup
TODO JavaDoc
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Executorfinal io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> -
Constructor Summary
ConstructorsConstructorDescriptionStartup(io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions, Executor executor, ShutdownController.Actuator shutdownActuator) -
Method Summary
-
Field Details
-
startupActions
public final io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions -
executor
-
shutdownActuator
-
-
Constructor Details
-
Startup
public Startup(io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions, Executor executor, ShutdownController.Actuator shutdownActuator)
-
-
Method Details
-
start
- Throws:
InterruptedException
-
start
public io.vavr.collection.Seq<Throwable> start(long timeoutSeconds) throws TimeoutException, InterruptedException - Throws:
TimeoutExceptionInterruptedException
-
start
public io.vavr.collection.Seq<Throwable> start(long timeout, TimeUnit timeoutUnit) throws TimeoutException, InterruptedException - Throws:
TimeoutExceptionInterruptedException
-