Package org.burningwave.core.concurrent
Class Thread
java.lang.Object
java.lang.Thread
org.burningwave.core.concurrent.Thread
-
Nested Class Summary
Nested ClassesNested 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 TypeMethodDescriptionvoidbooleanbooleanbooleanbooleanvoidkill()Deprecated.setExecutable(ThrowingConsumer<Thread, ? extends Throwable> executable) setExecutable(ThrowingConsumer<Thread, ? extends Throwable> executable, boolean isLooper) voidvoidsetIndexedName(String prefix) voidstart()voidtoString()static longwaitFor(long millis) Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, startVirtualThread, stop, suspend, threadId, yield
-
Method Details
-
setIndexedName
public void setIndexedName() -
setIndexedName
-
setExecutable
-
setExecutable
public Thread setExecutable(ThrowingConsumer<Thread, ? extends Throwable> executable, boolean isLooper) -
isDetached
public boolean isDetached() -
isPoolable
public boolean isPoolable() -
start
-
stopLooping
public void stopLooping() -
isRunning
public boolean isRunning() -
isLooping
public boolean isLooping() -
kill
Deprecated. -
interrupt
-
toString
-
waitFor
public static long waitFor(long millis)
-