Package org.opencms.setup.db
Class CmsUpdateDBThread
java.lang.Object
java.lang.Thread
org.opencms.setup.db.CmsUpdateDBThread
- All Implemented Interfaces:
Runnable
Used for the workplace setup in the OpenCms setup wizard.
- Since:
- 6.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionSaves the System.err stream so it can be restored.Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the logging thread.getOut()booleanReturns the status of the logging thread.voidkill()Kills this Thread as well as the included logging Thread.voidrun()voidrun(PrintStream out) 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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
m_tempErr
Saves the System.err stream so it can be restored.
-
-
Constructor Details
-
CmsUpdateDBThread
Constructor.- Parameters:
updateBean- the initialized update bean
-
-
Method Details
-
getLoggingThread
Returns the logging thread.- Returns:
- the logging thread
-
getOut
-
isFinished
Returns the status of the logging thread.- Returns:
- the status of the logging thread
-
kill
Kills this Thread as well as the included logging Thread. -
run
-
run
- See Also:
-