Class AsyncInit

java.lang.Object
java.lang.Thread
de.elo.mover.main.AsyncInit
All Implemented Interfaces:
java.lang.Runnable

public class AsyncInit
extends java.lang.Thread

Überschrift: AsyncInit.

Beschreibung: Klasse zur asynchronen Abarbeitung der Init Methode. Beim Warten auf den Indexserver muss beachtet werden, dass der Tomcat möglicherweise zwischenzeitlich beendet wird.

Copyright: Copyright (c) ELO Digital Office GmbH 2018

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Thread

    java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
  • Field Summary

    Fields inherited from class java.lang.Thread

    MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
  • Constructor Summary

    Constructors
    Constructor Description
    AsyncInit​(WebAppContextParam webAppContextParam, ELOasParams[] params, RulesetThread[] threads, DirectPool directPool, HealthServiceThread healthServThread)
    Konstruktor.
  • Method Summary

    Modifier and Type Method Description
    void run()  

    Methods inherited from class java.lang.Thread

    activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AsyncInit

      public AsyncInit​(WebAppContextParam webAppContextParam, ELOasParams[] params, RulesetThread[] threads, DirectPool directPool, HealthServiceThread healthServThread)
      Konstruktor.
      Parameters:
      webAppContextParam - Einstellungen der Anwendung
      params - Liste mit ELOas Parametern
      threads - Liste mit Ruleset Threads
      directPool - Sammelobjekt für die direkten ELOas Regeln
      healthServThread - Hintergrundprozess für die Ausführungszeiten
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface java.lang.Runnable
      Overrides:
      run in class java.lang.Thread