Class OConsoleProgressWriter
java.lang.Object
java.lang.Thread
com.orientechnologies.common.thread.OSoftThread
com.orientechnologies.orient.stresstest.OConsoleProgressWriter
Takes care of updating the console with a completion percentage while the stress test is working;
it takes the data to show from the OStressTestResults class.
- Author:
- Andrea Iacono
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute()voidprintMessage(String message) voidMethods inherited from class com.orientechnologies.common.thread.OSoftThread
afterExecution, beforeExecution, isShutdownFlag, run, setDumpExceptions, shutdown, softShutdown, startupMethods 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
-
Constructor Details
-
OConsoleProgressWriter
-
-
Method Details
-
printMessage
-
execute
- Specified by:
executein classOSoftThread- Throws:
Exception
-
sendShutdown
public void sendShutdown()- Overrides:
sendShutdownin classOSoftThread
-