Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
static DelayedPersist |
getDelayedPersist() |
void |
queue(IPersistable persistable,
long deltaTime) |
void |
queueRunnable(Runnable r,
long deltaTime) |
void |
run() |
static void |
shutDown() |
String |
toString() |
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, yield
public static DelayedPersist getDelayedPersist()
public static void shutDown()
public void queueRunnable(Runnable r, long deltaTime)
persistable
- the thing to send offdeltaTime
- max wait time in milliseconds - if<=null persist immediatelypublic void queue(IPersistable persistable, long deltaTime)
persistable
- the thing to send offdeltaTime
- max wait time in milliseconds - if<=null persist immediatelypublic void run()
run
in interface Runnable
run
in class Thread
Thread.run()
public String toString()
toString
in class Thread
Thread.toString()
Copyright © 2018. All rights reserved.