|
|||||||||
| Home >> All >> edu >> emory >> mathcs >> util >> [ concurrent overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
edu.emory.mathcs.util.concurrent
Class ThreadUtils.Executioner

java.lang.Objectjava.lang.Thread
edu.emory.mathcs.util.concurrent.ThreadUtils.Executioner
- All Implemented Interfaces:
- Callable, java.lang.Runnable
- Enclosing class:
- ThreadUtils
- private static class ThreadUtils.Executioner
- extends java.lang.Thread
- implements Callable
- extends java.lang.Thread
| Nested Class Summary | |
private static class |
ThreadUtils.Executioner.Result
|
| Field Summary | |
(package private) java.lang.ThreadDeath |
cause
|
(package private) static int |
DESTROY
|
(package private) boolean |
done
|
(package private) java.lang.Thread[] |
exclude
|
(package private) int |
op
|
(package private) ThreadUtils.Executioner.Result |
result
|
(package private) static int |
RESUME
|
(package private) static int |
STOP
|
(package private) static int |
SUSPEND
|
(package private) java.lang.ThreadGroup |
tg
|
private static java.util.Comparator |
threadComparator
|
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
(package private) |
ThreadUtils.Executioner(java.lang.ThreadGroup tg,
int op,
java.lang.Thread[] exclude,
java.lang.ThreadDeath cause,
Callback cb)
|
| Method Summary | |
java.lang.Object |
call()
Computes a result, or throws an exception if unable to do so. |
static Future |
doOp(int doWhat,
java.lang.ThreadGroup tg,
java.lang.Thread[] exclude,
java.lang.ThreadDeath cause,
Callback cb)
|
private Future |
exec()
|
private void |
execTGOperation(java.lang.ThreadGroup tg,
java.lang.Thread[] exclude,
int op)
|
void |
run()
The method of Thread that will be run if there is no Runnable object associated with the Thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
DESTROY
static final int DESTROY
- See Also:
- Constant Field Values
STOP
static final int STOP
- See Also:
- Constant Field Values
SUSPEND
static final int SUSPEND
- See Also:
- Constant Field Values
RESUME
static final int RESUME
- See Also:
- Constant Field Values
tg
final java.lang.ThreadGroup tg
op
final int op
exclude
final java.lang.Thread[] exclude
done
volatile boolean done
cause
final java.lang.ThreadDeath cause
result
final ThreadUtils.Executioner.Result result
threadComparator
private static java.util.Comparator threadComparator
| Constructor Detail |
ThreadUtils.Executioner
ThreadUtils.Executioner(java.lang.ThreadGroup tg, int op, java.lang.Thread[] exclude, java.lang.ThreadDeath cause, Callback cb)
| Method Detail |
doOp
public static Future doOp(int doWhat, java.lang.ThreadGroup tg, java.lang.Thread[] exclude, java.lang.ThreadDeath cause, Callback cb)
exec
private Future exec()
run
public void run()
- Description copied from class:
java.lang.Thread - The method of Thread that will be run if there is no Runnable object
associated with the Thread. Thread's implementation does nothing at all.
- Specified by:
runin interfacejava.lang.Runnable
call
public java.lang.Object call() throws java.lang.InterruptedException
- Description copied from interface:
Callable - Computes a result, or throws an exception if unable to do so.
execTGOperation
private void execTGOperation(java.lang.ThreadGroup tg, java.lang.Thread[] exclude, int op) throws java.lang.InterruptedException
|
|||||||||
| Home >> All >> edu >> emory >> mathcs >> util >> [ concurrent overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC