Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| 构造器和说明 |
|---|
LoopThread(String name,
boolean daemon,
int priority,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
LoopThread(String name,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
| 限定符和类型 | 方法和说明 |
|---|---|
static LoopThread |
createStarted(String name,
boolean daemon,
int priority,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
static LoopThread |
createStarted(String name,
long periodMs,
long delayMs,
Throwables.ThrowingRunnable<?> action) |
void |
run() |
void |
start() |
boolean |
terminate() |
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, stop, stop, suspend, toString, yieldpublic LoopThread(String name, long periodMs, long delayMs, Throwables.ThrowingRunnable<?> action)
public LoopThread(String name, boolean daemon, int priority, long periodMs, long delayMs, Throwables.ThrowingRunnable<?> action)
public static LoopThread createStarted(String name, long periodMs, long delayMs, Throwables.ThrowingRunnable<?> action)
public static LoopThread createStarted(String name, boolean daemon, int priority, long periodMs, long delayMs, Throwables.ThrowingRunnable<?> action)
public boolean terminate()
Copyright © 2024. All rights reserved.