Class VMBlockTimeRecorder
- java.lang.Object
-
- java.lang.Thread
-
- de.hybris.platform.core.threadregistry.RegistrableThread
-
- de.hybris.platform.testframework.runlistener.VMBlockTimeRecorder
-
- All Implemented Interfaces:
java.lang.Runnable
public final class VMBlockTimeRecorder extends RegistrableThread
- See Also:
VMBlockTimeRunListener
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidensureNotRunning()static voidensureRunning()static longgetMaxBlockTimeMillis()voidinternalRun()static voidreset()-
Methods inherited from class de.hybris.platform.core.threadregistry.RegistrableThread
registerThread, run, unregisterThread, withInitialInfo
-
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
-
-
-
-
Method Detail
-
ensureRunning
public static void ensureRunning()
-
ensureNotRunning
public static void ensureNotRunning()
-
getMaxBlockTimeMillis
public static long getMaxBlockTimeMillis()
-
reset
public static void reset()
-
internalRun
public void internalRun()
- Overrides:
internalRunin classRegistrableThread
-
-