Class SubstanceTitlePane.HeapStatusThread
java.lang.Object
java.lang.Thread
org.pushingpixels.lafwidget.utils.TrackableThread
org.pushingpixels.substance.internal.utils.SubstanceTitlePane.HeapStatusThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
SubstanceTitlePane
public static class SubstanceTitlePane.HeapStatusThread
extends org.pushingpixels.lafwidget.utils.TrackableThread
Thread for heap status panel.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionGets singleton instance ofthis
thread.static void
Registers new heap status panel withthis
thread.protected void
void
run()
static void
Unregisters new heap status panel fromthis
thread.Methods inherited from class org.pushingpixels.lafwidget.utils.TrackableThread
requestStopAllThreads
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
-
Method Details
-
getInstance
Gets singleton instance ofthis
thread.- Returns:
- Singleton instance of
this
thread.
-
registerPanel
Registers new heap status panel withthis
thread.- Parameters:
panel
- Heap statuc panel.
-
unregisterPanel
Unregisters new heap status panel fromthis
thread.- Parameters:
panel
- Heap statuc panel.
-
run
public void run() -
requestStop
protected void requestStop()- Specified by:
requestStop
in classorg.pushingpixels.lafwidget.utils.TrackableThread
-