Package paulscode.sound
Class SimpleThread
java.lang.Object
java.lang.Thread
paulscode.sound.SimpleThread
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
CommandThread,MidiChannel.FadeThread,StreamThread
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final booleanprivate booleanprivate static final booleanprivate static final booleanFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
GET
private static final boolean GET- See Also:
-
SET
private static final boolean SET- See Also:
-
XXX
private static final boolean XXX- See Also:
-
alive
private boolean alive -
kill
private boolean kill
-
-
Constructor Details
-
SimpleThread
public SimpleThread()
-
-
Method Details
-
cleanup
protected void cleanup() -
run
public void run() -
restart
public void restart() -
rerun
private void rerun() -
alive
public boolean alive() -
kill
public void kill() -
dying
protected boolean dying() -
alive
private boolean alive(boolean bool, boolean bool2) -
kill
private boolean kill(boolean bool, boolean bool2) -
snooze
protected void snooze(long long2)
-