public class WorkerThreadPool
extends java.lang.Thread
Modifier and Type | Method and Description |
---|---|
static void |
assignThread(java.lang.Runnable _task,
java.lang.String _name) |
static void |
assignThread(java.lang.Runnable _task,
java.lang.String _name,
java.lang.ThreadGroup _tg) |
void |
run() |
static void |
setLifetime(long time) |
static void |
setMaxThreads(int maxThreads) |
activeCount, checkAccess, 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, yield
public static void setLifetime(long time)
public static void setMaxThreads(int maxThreads)
public static void assignThread(java.lang.Runnable _task, java.lang.String _name)
public static void assignThread(java.lang.Runnable _task, java.lang.String _name, java.lang.ThreadGroup _tg)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.