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.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()
boolean
Returns the status of the logging thread.void
kill()
Kills this Thread as well as the included logging Thread.void
run()
void
run
(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, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, 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:
-