weka4ws.gui.kflow
Class TestSetNotifierThread

java.lang.Object
  extended byjava.lang.Thread
      extended byweka4ws.gui.kflow.TestSetNotifierThread
All Implemented Interfaces:
java.lang.Runnable

public class TestSetNotifierThread
extends java.lang.Thread

Stops code that calls notifyTestSetProduced. This is needed as classifier construction might not be completed yet when notifyTestSetProduced is invoked. After its completion a ComputingNode will invoke notifyClassifierBuilt on the instance of this class, which has previously registered itself by invoking the method registerForNotification.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TestSetNotifierThread(weka.gui.beans.TestSetListener l, TestSetEvent4WS e)
           
 
Method Summary
 void notifyClassifierBuilt()
          Notifies all the TestSetNotifierThreads that a classifier has been built.
 void run()
          Registers itself for notification at the corresponding computing node (a Classifier or a Clusterer
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestSetNotifierThread

public TestSetNotifierThread(weka.gui.beans.TestSetListener l,
                             TestSetEvent4WS e)
Method Detail

run

public void run()
Registers itself for notification at the corresponding computing node (a Classifier or a Clusterer


notifyClassifierBuilt

public void notifyClassifierBuilt()
Notifies all the TestSetNotifierThreads that a classifier has been built.