|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
autoweka.ClassifierRunner.EvaluatorThread
public static class ClassifierRunner.EvaluatorThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ClassifierRunner.EvaluatorThread(Evaluation ev,
AbstractClassifier cls,
Instances inst)
|
|
ClassifierRunner.EvaluatorThread(Evaluation ev,
AbstractClassifier cls,
Instances inst,
java.lang.String predictionsFile)
|
Method Summary | |
---|---|
boolean |
completed()
True if the job finished before it was killed hard |
protected void |
doWork()
Subclasses should do all their work in here |
java.lang.Exception |
getException()
Gets whatever exception was thrown by this thread |
protected java.lang.String |
getOpName()
For diagnostics, return a string that says what you were trying to do here |
void |
run()
The run method of the thread |
void |
terminate()
Request that a job be stopped |
boolean |
terminated()
Checks to see if the job was killed hard |
Methods inherited from class java.lang.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, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassifierRunner.EvaluatorThread(Evaluation ev, AbstractClassifier cls, Instances inst)
public ClassifierRunner.EvaluatorThread(Evaluation ev, AbstractClassifier cls, Instances inst, java.lang.String predictionsFile)
Method Detail |
---|
protected void doWork() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getOpName()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.Exception getException()
public boolean completed()
public void terminate()
public boolean terminated()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |