private class ParsedTarget.RateThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
private GlobalGrouping |
condition
The parameters for evaluating our rating conditions.
|
private List<Appointable.Constraint> |
fulfill
The list of constraint that must be fulfilled to rate successful.
|
private HistoryAware.Pick |
pick
The pick we should update.
|
private ExpressionEvaluator |
waitfor
The expression that must become true for a rating to proceed.
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
private |
RateThread(HistoryAware.Pick update,
GlobalGrouping set,
ExpressionEvaluator canrate,
List<Appointable.Constraint> rate)
Constructs, but does not start the rating thread.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
exitAction(TargetDefinition target,
HistoryAware.Pick pick)
Always called at the end of the thread's lifetime.
|
void |
run()
Runs the rate thread.
|
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, toString, yieldprivate final GlobalGrouping condition
private final ExpressionEvaluator waitfor
private final List<Appointable.Constraint> fulfill
private final HistoryAware.Pick pick
private RateThread(HistoryAware.Pick update, GlobalGrouping set, ExpressionEvaluator canrate, List<Appointable.Constraint> rate)
public void run()
private void exitAction(TargetDefinition target, HistoryAware.Pick pick)