Class ClassThread
java.lang.Object
java.lang.Thread
de.mid.innovator.m2msdk.application.ClassThread
- All Implemented Interfaces:
Runnable
This thread loads preemptively classes that will hopefully needed later by
other threads. Hence bringing a performance boost when parallelized on a
multi-core machine. This includes own classes, Innovator API classes,
third-party library classes (jdom, RunCC) as well as core classes (rt.jar).
After the classes are loaded, the thread dies.
The library classes are loaded completely synchronously via the Extended
Class Loader. This is done because the extended class loader can be modified
so that the classes are loaded from URL. By that there is no need to add the
jars to the class path.
The other classes (Mapping or customer specific, like ERDB, EROO, BMW, DATEV,
BA ) are loaded via TypePool.
- Version:
- 11.4.1
- Author:
- jmback
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, threadId, toString, yield