Class Startup


  • public class Startup
    extends java.lang.Object
    TODO JavaDoc
    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.vavr.collection.Seq<java.lang.Throwable> start()  
      io.vavr.collection.Seq<java.lang.Throwable> start​(long timeoutSeconds)  
      io.vavr.collection.Seq<java.lang.Throwable> start​(long timeout, java.util.concurrent.TimeUnit timeoutUnit)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • startupActions

        public final io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions
      • executor

        public final java.util.concurrent.Executor executor
    • Constructor Detail

      • Startup

        public Startup​(io.vavr.collection.Traversable<? extends io.vavr.CheckedRunnable> startupActions,
                       java.util.concurrent.Executor executor,
                       ShutdownController.Actuator shutdownActuator)
    • Method Detail

      • 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.TimeoutException
        java.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.TimeoutException
        java.lang.InterruptedException