Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
MyThread() |
MyThread(Runnable target) |
MyThread(Runnable target,
String name) |
MyThread(String name) |
MyThread(ThreadGroup group,
Runnable target) |
MyThread(ThreadGroup group,
Runnable target,
String name) |
MyThread(ThreadGroup group,
Runnable target,
String name,
long stackSize) |
MyThread(ThreadGroup group,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createAndRun(Runnable toRun) |
ScopeUtils.ScopeBean |
gCubeContext() |
void |
gCubeContext(ScopeUtils.ScopeBean bean) |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic MyThread()
public MyThread(Runnable target)
public MyThread(String name)
public MyThread(ThreadGroup group, Runnable target)
public MyThread(ThreadGroup group, String name)
public MyThread(ThreadGroup group, Runnable target, String name)
public MyThread(ThreadGroup group, Runnable target, String name, long stackSize)
public void gCubeContext(ScopeUtils.ScopeBean bean)
public ScopeUtils.ScopeBean gCubeContext()
public static void createAndRun(Runnable toRun)
Copyright © 2016. All Rights Reserved.